DocumentProperties properties

The DocumentProperties interface supports one property, count.

count 
Access   Read-only 
Type  Integer 
Description  Returns the number of properties (DocumentProperty objects) in the collection represented by the DocumentProperties object. 
Usage 
JScript  DocumentProperties_object.count; 
VBScript  DocumentProperties_object.count 
Example 
// SoftQuad Script Language JSCRIPT:
var curDoc, curDocProps;
curDoc=Application.ActiveDocument;
curDocProps=curDoc.CustomDocumentProperties;
if (curDocProps.count==0) {
   Application.Alert("No custom properties.");
}
 


Right arrow
Next Topic
Left arrow
Previous Topic
Table of contents
Table of Contents

Copyright © SoftQuad Software Inc. 1999