Skip to main content

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.
DXFormat Gets or sets the format of a picture.
DXImage Gets of sets the image to be displayed.
HyperlinkClick Gets a hyperlink associated with the current 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.
SetImage(DXImage, DXImageFormat) Specifies the image to be displayed in the 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