PrintDocument for WinForms | ComponentOne
C1.PrintDocument.6 Assembly / C1.C1Preview Namespace / C1PrintDocument Class / IsPageCountFinal Property

In This Topic
    IsPageCountFinal Property (C1PrintDocument)
    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 C1PrintDocument.IsGenerating), gets true.

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