ExcelPictureCollectionAdd(String, PositionOption, AnchorCell, AnchorCell) Method |
Adds the image from file path with defined anchor properties.
Namespace: SautinSoft.ExcelAssembly: SautinSoft.Excel (in SautinSoft.Excel.dll) Version: 2025.4.23
Syntaxpublic void Add(
string fileName,
PositionOption option,
AnchorCell topLeftCell,
AnchorCell bottomRightCell
)
Public Sub Add (
fileName As String,
option As PositionOption,
topLeftCell As AnchorCell,
bottomRightCell As AnchorCell
)
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