Table of Contents

TExcelFile.AddImageAlternate Method

Adds an image to the active sheet. Currently this method is only needed for SVG images, since SVG images are stored as both PNG and SVG inside the xlsx file. This method allows you to supply both images.

Syntax

Unit: FlexCel.Core

procedure TExcelFile.AddImageAlternate(const PNGData: TBytes; imageProperties: IImageProperties; const aSVGBlip: TSVGBlip); virtual; abstract;

Parameters

<-> Parameter Type Description
const PNGData TBytes Image data for the PNG file that will be used as a backup for the SVG. This data must be in PNG file format.
imageProperties IImageProperties Image Properties.
const aSVGBlip TSVGBlip Data for the SVG image to be added.

See also