←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 Document is set in the viewer; otherwise, 0.

Requirements

Target Platforms

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Documents.UI.WinForms Assembly