.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
Row

Shape Members

A common interface for drawing objects in a worksheet.

Properties

Name Description
AlternativeText Gets or sets the descriptive (alternative) text for a drawing object.
BottomRightCell Gets or sets a cell where the bottom right corner of a floating object is located. Inherited from FloatingObject.
ConnectorFormat Provides access to the shape connector settings.
Fill Provides access to fill options for the specified drawing object. Inherited from ShapeFormatBase.
Height Gets or sets the height of the floating object. Inherited from FloatingObject.
Hyperlink Gets the hyperlink associated with a drawing object (picture).
Id Gets the drawing object identifier.
Left Gets or sets the distance from the left edge of the worksheet to the top left corner of the floating object. Inherited from FloatingObject.
LockAspectRatio Gets or sets whether the floating object retains its original proportions after resizing. Inherited from FloatingObject.
Name Gets or sets the name of the drawing object.
OffsetX Gets a distance from the top left corner of the floating to the left edge of the cell where the top left corner of the floating object is located. Inherited from FloatingObject.
OffsetY Gets a distance from the top left corner of the floating object to the top edge of the cell where the top left corner of the floating object is located. Inherited from FloatingObject.
Outline Provides access to the options used to format an outline of the specified drawing object. Inherited from ShapeFormatBase.
ParentGroup Retrieves the group in which the current shape is contained.
Placement Gets or sets the behavior of the floating object regarding the cells below. Inherited from FloatingObject.
Rotation Gets or sets the rotation of the drawing object, in degrees.
ShapeGeometry Provides access to the shape's geometry options.
ShapeText Provides access to the shape's text options.
ShapeType Returns the type of the drawing object.
Top Gets or sets the distance from the top edge of the worksheet to the top left corner of the floating object. Inherited from FloatingObject.
TopLeftCell Gets or sets a cell where the top left corner of a floating object is located. Inherited from FloatingObject.
Width Gets or sets the width of the floating object. Inherited from FloatingObject.
ZOrderPosition Gets the position of the current drawing object in the z-order.

Methods

Name Description
Delete() Deletes a drawing object.
ExportToImage() Exports the drawing object to an image.
GetChildren() Retrieves the list of nested shapes and shape groups.
IncrementRotation(Int32) Increments the rotation angle of the drawing object by the specified number of degrees.
InsertHyperlink(String, Boolean) Associates a hyperlink with the drawing object.
Move(Single, Single) Moves a floating object by a specified offset. Inherited from FloatingObject.
RemoveHyperlink() Removes the hyperlink associated with the current drawing object.
See Also