←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 20.0.2020.4.3
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Document.Viewer.WinForms Assembly