JavaScript Reference/Javascript Properties/Count
"Count" Example
<html>
<body>
<object id="myDhelper"
classid="clsid:3050f819-98b5-11cf-bb82-00aa00bdce0b">
</object>
<button onclick="alert(myDhelper.blockFormats.Count);">
Number of Block Formats
</button>
</body>
</html>
"Count" is applied to
Names noted with an asterisk (*) are JavaScript properties only.
+----------------+--------------------------------------------------------------+
| Applied_To |blockFormats* fonts* |
+----------------+--------------------------------------------------------------+
"Count" Syntax and Note
Note:
Read-only property.
Returns the number of block-format elements.
Syntax:
dialogHelperName.collectionName.Count