Click or drag to resize

ExcelPictureCollectionAdd(String, PositionOption, AnchorCell, AnchorCell) Method

Adds the image from file path with defined anchor properties.

Namespace: SautinSoft.Excel
Assembly: SautinSoft.Excel (in SautinSoft.Excel.dll) Version: 2025.4.23
Syntax
public void Add(
	string fileName,
	PositionOption option,
	AnchorCell topLeftCell,
	AnchorCell bottomRightCell
)

Parameters

fileName  String
File path.
option  PositionOption
Positioning mode of the image.
topLeftCell  AnchorCell
Top left anchor cell.
bottomRightCell  AnchorCell
Bottom right anchor cell.
See Also