Click or drag to resize

ExcelPictureCollectionAdd(MemoryStream, PositionOption, AnchorCell, AnchorCell, ExcelPictureFormat) Method

Adds the image from image stream with defined anchor properties.

Namespace: SautinSoft.Excel
Assembly: SautinSoft.Excel (in SautinSoft.Excel.dll) Version: 2025.4.23
Syntax
public void Add(
	MemoryStream imageStream,
	PositionOption option,
	AnchorCell topLeftCell,
	AnchorCell bottomRightCell,
	ExcelPictureFormat format
)

Parameters

imageStream  MemoryStream
Image stream.
option  PositionOption
Positioning mode of the image.
topLeftCell  AnchorCell
Top left anchor cell.
bottomRightCell  AnchorCell
Bottom right anchor cell.
format  ExcelPictureFormat
Picture format.
See Also