Partager via


ShapeRange Interface

Represents a shape range, which is a set of shapes on a document.

Namespace:  Microsoft.Office.Interop.Excel
Assembly:  Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)

Syntax

'Declaration
<GuidAttribute("0002443B-0000-0000-C000-000000000046")> _
<InterfaceTypeAttribute()> _
Public Interface ShapeRange _
    Inherits IEnumerable
'Usage
Dim instance As ShapeRange
[GuidAttribute("0002443B-0000-0000-C000-000000000046")]
[InterfaceTypeAttribute()]
public interface ShapeRange : IEnumerable

Remarks

A shape range can contain as few as a single shape or as many as all the shapes on the document. You can include whichever shapes you want — chosen from among all the shapes on the document or all the shapes in the selection — to construct a shape range. For example, you could construct a ShapeRange collection that contains the first three shapes on a document, all the selected shapes on a document, or all the freeforms on a document.

See Also

Reference

ShapeRange Members

Microsoft.Office.Interop.Excel Namespace