FlexGrid for WinForms | ComponentOne
C1.Win.FlexGrid Namespace / GridPrinter Class / PageCount Property

In This Topic
    PageCount Property (GridPrinter)
    In This Topic
    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