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