TShapeOptionList.AsImageAlternate Method
Returns a byte array with the image if it exists, otherwise null. Note that for SVG images, xlsx files store both a PNG and SVG image. In those cases, this method will return the SVG image. To get the PNG, call AsImage
Syntax
Namespace: FlexCel.Core
public Byte[] AsImageAlternate(ExcelFile xls, String objectPath, TShapeOption key)
Parameters
<-> | Parameter | Type | Description |
---|---|---|---|
xls | ExcelFile | File with the images. | |
objectPath | String | Object path to the image. | |
key | TShapeOption | Property Name. |