ComponentOne FlexGrid for WinForms
PageCount Property (GridPrinter)

C1.Win.C1FlexGrid Namespace > GridPrinter Class : PageCount Property
Gets the total number of the pages in the print document.
Syntax
'Declaration
 
Public ReadOnly Property PageCount As Integer
public int PageCount {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.

See Also

Reference

GridPrinter Class
GridPrinter Members