HotXLS 文档

Count 属性

Returns the number of hyperlinks in a IXLSHyperlinks collection. Read only Integer

语法

property Count: Integer;

示例

本示例 displays the number of hyperlinks on Worksheet one

MessageDlg(inttostr(Workbook.Sheets[1].Hyperlinks.Count) + ' hyperlinks on Worksheet one.',
           mtInformation, [mbOk], 0);
本示例 displays the number of hyperlinks on range A1:D10

MessageDlg(inttostr(Workbook.Sheets[1].Range['A1','D10'].Hyperlinks.Count) + ' hyperlinks on A1:D10.',
           mtInformation, [mbOk], 0);