HotXLS Docs

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);