Compartilhar via


ChartObjects Members

Include Protected Members
Include Inherited Members

A collection of all the ChartObject objects on the specified chart sheet, dialog sheet, or worksheet.

The ChartObjects type exposes the following members.

Properties

  Name Description
Public property Application Returns an Application object that represents the Microsoft Excel application.
Public property Border Returns a Border object that represents the border of the object.
Public property Count Returns the number of objects in the collection.
Public property Creator Returns a 32-bit integer that indicates the application in which this object was created.
Public property Enabled True if the object is enabled.
Public property Height The height of the object.
Public property Interior Returns an Interior object that represents the interior of the specified object.
Public property Left The distance from the left edge of the object to the left edge of column A (on a worksheet) or the left edge of the chart area (on a chart).
Public property Locked True if the object is locked; False if the object can be modified when the sheet is protected.
Public property OnAction Reserved for internal use.
Public property Parent Returns the parent object for the specified object.
Public property Placement Returns or sets the way the object is attached to the cells below it.
Public property PrintObject True if the object will be printed when the document is printed.
Public property ProtectChartObject True if the embedded chart frame cannot be moved, resized, or deleted through the user interface. Read/write Boolean.
Public property RoundedCorners True if the embedded chart has rounded corners.
Public property Shadow True if the object has a shadow
Public property ShapeRange Returns a ShapeRange object that represents the specified object or objects.
Public property Top The distance from the top edge of the object to the top of row 1 (on a worksheet) or the top of the chart area (on a chart).
Public property Visible Determines whether the object is visible.
Public property Width The width of the object.

Top

Methods

  Name Description
Public method _Copy Reserved for internal use.
Public method _Default Reserved for internal use.
Public method _Dummy12 Reserved for internal use.
Public method _Dummy15 Reserved for internal use.
Public method _Dummy22 Reserved for internal use.
Public method _Dummy25 Reserved for internal use.
Public method _Dummy27 Reserved for internal use.
Public method _Dummy28 Reserved for internal use.
Public method _Dummy3 Reserved for internal use.
Public method Add Creates a new embedded chart. Returns a ChartObject object.
Public method BringToFront Brings the object to the front of the z-order.
Public method Copy Copies the object to the Clipboard. Copies a picture of the point or series to the Clipboard.
Public method CopyPicture Copies the selected object to the Clipboard as a picture.
Public method Cut Cuts the object to the Clipboard or pastes it into a specified destination.
Public method Delete Deletes the object.
Public method Duplicate Duplicates the object and returns a reference to the new copy.
Public method GetEnumerator() (Inherited from IEnumerable.)
Public method GetEnumerator()
Public method Group Reserved for internal use.
Public method Item Returns a single object from a collection.
Public method Select Selects the object.
Public method SendToBack Sends the object to the back of the z-order.

Top

See Also

Reference

ChartObjects Interface

Microsoft.Office.Interop.Excel Namespace