Skip to main content
A newer version of this page is available. .

IXlPicture Members

Represents a picture embedded in a worksheet.

Properties

Name Description
AnchorBehavior Gets or sets the positioning and resizing behavior of a picture which is anchored to two cells in a worksheet.
AnchorType Gets or sets the anchoring type used to position a picture within a worksheet.
BottomRight Gets or sets the anchor for the bottom-right corner of a picture.
Format Gets or sets the file format of a picture.
HyperlinkClick Gets a hyperlink associated with the current IXlPicture object.
Image Gets or sets the image residing in the IXlPicture object.
Name Gets or sets the name of the picture.
SourceRectangle Gets or sets the portion of the picture to draw.
TopLeft Gets or sets the anchor for the top-left corner of a picture.

Methods

Name Description
Dispose() Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. Inherited from IDisposable.
FitToCell(XlCellPosition, Int32, Int32, Boolean) Fits an IXlPicture object in the specified cell.
SetAbsoluteAnchor(Int32, Int32, Int32, Int32) Anchors an IXlPicture object to an absolute position in a worksheet.
SetOneCellAnchor(XlAnchorPoint, Int32, Int32) Anchors an IXlPicture object to a specific cell in a worksheet.
SetTwoCellAnchor(XlAnchorPoint, XlAnchorPoint, XlAnchorType) Anchors an IXlPicture object to two cells in a worksheet.
StretchToCell(XlCellPosition) Stretches an IXlPicture object to fill the specified cell.
See Also