←Select platform

PageCount Property

Summary

Number of pages in the current document.

Syntax
C#
VB
C++
public virtual int PageCount { get; } 
Public Overridable ReadOnly Property PageCount() As Integer 
   Get 
public:  
   virtual property int PageCount 
   { 
      int get() 
   } 

Property Value

The number of pages in the current document.

Remarks

This property returns the number of pages in Document if an LEADDocument is set in the viewer; otherwise, 0.

Requirements
Target Platforms
Help Version 21.0.2021.6.30
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Document.Viewer.WinForms Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.