←Select platform

PageCount Property

Summary

Number of pages in the document being uploaded.

Syntax
C#
VB
C++
public int PageCount { get; set; } 
Public Property PageCount() As Integer 
   Get 
   Set 
public:  
   property Int32 PageCount 
   { 
      Int32 get() 
      void set(Int32 value) 
   } 

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 will be overridden by the factory and the real number of pages obtained from the document data.

Note that the original value set here in PageCount will be returned by DocumentFactory.GetDocumentCacheInfo if called prior to the factory loading the document.

Example

For an example, refer to DocumentFactory.BeginUpload.

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