0 out of 1 rated this helpful - Rate this topic

Chart Interface

Office 2010

Represents a chart in a document.

Namespace:  Microsoft.Office.Interop.Word
Assembly:  Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)
[GuidAttribute("6FFA84BB-A350-4442-BB53-A43653459A84")]
public interface Chart

The following properties and methods for returning a Chart object are described in the example section:

  • Chart property

  • AddChart method

The InlineShapes collection contains an object for each inline shape, including charts, in a document. Use InlineShapes(Index), where Index is the index number of an inline shape, to return a single InlineShape object. Use the HasChart property to determine if the InlineShape object represents a chart. If the HasChart property is set to True, use the Chart property to return a Chart object.

You can also use the Type property to determine if the InlineShape object represents a chart. If the Type property is set to WdInlineShapeChart, the inline shape represents a chart.

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.