HotXLS Delphi Excel Read Write Library / Component Developers Guide loslab Inc.

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©2007-2019 loslab.com