PrintDocument for WinForms | ComponentOne
C1.Win.PrintPreview.8 Assembly / C1.Win.C1Preview.Design Namespace / SampleC1PrintDocument Class / IsPageCountFinal Property

In This Topic
    IsPageCountFinal Property (SampleC1PrintDocument)
    In This Topic
    Gets a value indicating whether all pages have been added to the document being generated.

    For example, if the document has a page footer or header that includes the total page count (of the kind "Page X of Y"), this property gets false while new pages are being added, but true when adding new pages is over and the total page count is being updated on the rendered pages.

    If the document is currently not generating (see C1.C1Preview.C1PrintDocument.IsGenerating), gets true.

    Syntax
    'Declaration
     
    Public ReadOnly Property IsPageCountFinal As Boolean
    public bool IsPageCountFinal {get;}
    See Also