PrintDocument for WinForms | ComponentOne
C1.PrintDocument.8 Assembly / C1.C1Preview.Export Namespace / ExportUtil Class / GetPages Method
The export document.
Out: the page count.

In This Topic
    GetPages Method (ExportUtil)
    In This Topic
    Gets the list of page images representing the document, or null if the document is a C1Preview.
    Syntax
    'Declaration
     
    Public Shared Function GetPages( _
       ByVal document As Object, _
       ByRef pageCount As Integer _
    ) As IList
    public static IList GetPages( 
       object document,
       out int pageCount
    )

    Parameters

    document
    The export document.
    pageCount
    Out: the page count.

    Return Value

    The list of page metafiles or null.
    See Also