NativeExcel suite v2.x

Shapes property

Returns a TXLSShapes object that represents all the shapes on the worksheet. Read-only.

Syntax

property Shapes: TXLSShapes;

Example

This example adds a picture to worksheet one.
Workbook.Sheets[1].Shapes.AddPicture('picture.jpg');
This example deletes any shapes from sheet one
Workbook.Sheets[1].Shapes.Delete;
Copyright © NikaSoft 2004-2010