PrintDocument for WinForms | ComponentOne
C1.PrintDocument.6 Assembly / C1.C1Preview Namespace / C1MultiDocument Class / PageAsMetafile Method / PageAsMetafile(Int32,PageDrawParams) Method
The page index (0-based).
Specifies drawing params.

In This Topic
    PageAsMetafile(Int32,PageDrawParams) Method
    In This Topic
    Gets a System.Drawing.Imaging.Metafile that represents the specified page.
    Syntax
    'Declaration
     
    Public Overloads Function PageAsMetafile( _
       ByVal pageIndex As Integer, _
       ByVal pdp As PageDrawParams _
    ) As Metafile
    public Metafile PageAsMetafile( 
       int pageIndex,
       PageDrawParams pdp
    )

    Parameters

    pageIndex
    The page index (0-based).
    pdp
    Specifies drawing params.

    Return Value

    The System.Drawing.Imaging.Metafile representing the specified page, or null if index was invalid.
    See Also