FlexGrid for WinForms
PageCount Property (GridPrinter)



Gets the total number of the pages in the print document.
Syntax
'Declaration
 
Public ReadOnly Property PageCount As Integer
'Usage
 
Dim instance As GridPrinter
Dim value As Integer
 
value = instance.PageCount
public int PageCount {get;}
public:
property int PageCount {
   int get();
}
Remarks

The value returned is accurate only while the document is printing. Before or after a document is done printing, this property returns zero.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

GridPrinter Class
GridPrinter Members

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Send Feedback