Table of Contents

IShapeOptionList.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

Unit: FlexCel.Core

function IShapeOptionList.AsImageAlternate(const xls: TCoreExcelFile; const objectPath: string; const key: TShapeOption): TBytes; virtual; abstract;

Parameters

<-> Parameter Type Description
const xls TCoreExcelFile File with the images.
const objectPath string Object path to the image.
const key TShapeOption Property Name.

See also