pageCount Property

Summary

Number of pages in the document being uploaded.

Syntax
TypeScript
JavaScript
Object.defineProperty(UploadDocumentOptions.prototype, 'pageCount', 
   get: function(), 
   set: function(value) 
) 
pageCount: number; 

Property Value

The number of pages in the document being uploaded. The default value is 0.

Remarks

This value is optional and setting it depends on the application's requirement.

This value is just a hint for the factory when it first tries to load the document. If the value of pageCount is 0 or a wrong value, then it is overridden by the factory and the real number of pages obtained from the document data.

Note that the original value set here in pageCount is returned by DocumentFactory.checkCacheInfo if called prior to the factory loading the document.

Requirements

Target Platforms

Help Version 20.0.2020.4.3
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Document Assembly