Table of Contents

TShapeOptionList.AsImage 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, for backward compatibility reasons, this method will return the PNG image. To get the SVG, call AsImageAlternate

Syntax

Namespace: FlexCel.Core

public Byte[] AsImage(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.

See also