Table of Contents

XlsFile.AddAutoShape Method

Adds an autoshape to the sheet. You can add shapes to a worksheet, or to a chart sheet. For an example on how to add a shape, please create a shape in Excel, then open the file with APIMate and look at the generated code.

Syntax

Namespace: FlexCel.XlsAdapter

public override Int32 AddAutoShape(TShapeProperties shapeProperties)

Parameters

<-> Parameter Type Description
shapeProperties TShapeProperties Properties of the shape we want to add.

Returns

The object index of the new shape.

See also