PrintDocument for WinForms | ComponentOne
C1.PrintDocument.4.8 Assembly / C1.C1Preview.Export Namespace / ExportUtil Class / PageExists Method
The physical page number (1-based index).
The list of page images or null.
The document or null.

In This Topic
    PageExists Method (ExportUtil)
    In This Topic
    Tests whether the page with the specified number exists in the document.
    Syntax
    'Declaration
     
    Public Shared Function PageExists( _
       ByVal pageNo As Integer, _
       ByVal pages As IList, _
       ByVal document As Object _
    ) As Boolean
    public static bool PageExists( 
       int pageNo,
       IList pages,
       object document
    )

    Parameters

    pageNo
    The physical page number (1-based index).
    pages
    The list of page images or null.
    document
    The document or null.

    Return Value

    True if the page exists, false otherwise.
    See Also