NativeExcel suite v2.x

Count property

Returns the number of shapes in a TXLSShapes collection. Read only Integer.

Syntax

property Count: integer;

Example

This example displays the number of shapes on worksheet one.
MessageDlg(inttostr(WorkBook.Sheets[1].Shapes.Count) + ' Shapes on worksheet one.',
           mtInformation, [mbOk], 0);
Copyright © NikaSoft 2004-2012