Skip to main content

IXlPicture Methods

Represents a picture embedded in a worksheet.
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