Skip to main content
Row

Picture Members

An image embedded in a worksheet.

Properties

Name Description
AlternativeText Gets or sets the descriptive (alternative) text for a drawing object. Inherited from Shape.
BorderColor Gets or sets the color of the picture border.
BorderWidth Gets or sets the width of the picture border.
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. Inherited from Shape.
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). Inherited from Shape.
Id Gets the drawing object identifier. Inherited from Shape.
Image Gets the image which the Picture object contains.
ImageFormat Gets the format of the image residing in the Picture object.
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. Inherited from Shape.
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.
OriginalHeight Gets the height of an image residing in the Picture object.
OriginalWidth Gets the width of an image residing in the Picture object.
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. Inherited from Shape.
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. Inherited from Shape.
ShapeGeometry Provides access to the shape’s geometry options. Inherited from Shape.
ShapeText Provides access to the shape’s text options. Inherited from Shape.
ShapeType Returns the type of the drawing object. Inherited from Shape.
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. Inherited from Shape.

Methods

Name Description
ChangeImage(SpreadsheetImageSource, ImageReplacementMode) Replaces the current worksheet image with a different image.
ChangeImage(Image, ImageReplacementMode) Replaces the current worksheet image with a different image.
ChangeImage(String, ImageReplacementMode) Replaces the current worksheet image with a different image.
Delete() Deletes a drawing object. Inherited from Shape.
ExportToImage() Saves the drawing object as an image. Inherited from Shape.
ExportToImage(Stream, ImageFileFormat) Saves the drawing object as an image in the specified format. Inherited from Shape.
ExportToImage(String, ImageFileFormat) Saves the drawing object as an image in the specified format. Inherited from Shape.
GetChildren() Retrieves the list of nested shapes and shape groups. Inherited from Shape.
IncrementRotation(Int32) Increments the rotation angle of the drawing object by the specified number of degrees. Inherited from Shape.
InsertHyperlink(String, Boolean) Associates a hyperlink with the drawing object. Inherited from Shape.
Move(Single, Single) Moves a floating object by a specified offset. Inherited from FloatingObject.
RemoveHyperlink() Removes the hyperlink associated with the current drawing object. Inherited from Shape.
RemoveOutline() Removes the outside border of a shape (picture).
See Also