PrintDocument for WPF | ComponentOne
C1.WPF.PrintDocument.4.5.2 Assembly / C1.C1Preview Namespace / C1PrintDocument Class / IsPageCountFinal Property

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

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