PrintDocument for WPF | ComponentOne
C1.WPF.PrintDocument.4.6.2 Assembly / C1.C1Preview.Export Namespace / ExportUtil Class / GetPageMetafile Method / GetPageMetafile(Int32,IList,Object,PageDrawParams) Method
The physical page number (1-based index).
The pages collection (may be null).
The document (may be null).
Specifies drawing params.

In This Topic
    GetPageMetafile(Int32,IList,Object,PageDrawParams) Method
    In This Topic
    Gets the page metafile for export or printing.
    Syntax
    'Declaration
     
    Public Overloads Shared Function GetPageMetafile( _
       ByVal pageNo As Integer, _
       ByVal pages As IList, _
       ByVal document As Object, _
       ByVal pdp As PageDrawParams _
    ) As Metafile
    public static Metafile GetPageMetafile( 
       int pageNo,
       IList pages,
       object document,
       PageDrawParams pdp
    )

    Parameters

    pageNo
    The physical page number (1-based index).
    pages
    The pages collection (may be null).
    document
    The document (may be null).
    pdp
    Specifies drawing params.

    Return Value

    The page metafile.
    See Also