XlsFile.AddImage Method
Adds an image to the active sheet. Note that for SVG images, xlsx files store both a PNG and SVG image. To enter an SVG image, use ExcelFile.AddImageAlternate
Syntax
Namespace: FlexCel.XlsAdapter
public override void AddImage(Byte[] data, TXlsImgType imageType, TImageProperties imageProperties)
Parameters
<-> | Parameter | Type | Description |
---|---|---|---|
data | Byte[] | byte array with the image data. | |
imageType | TXlsImgType | Type of image you are inserting (bmp, jpg, etc). | |
imageProperties | TImageProperties | Placement and other properties of the image. |