PrintDocument for WPF | ComponentOne
C1.WPF.PrintDocument.4.5.2 Assembly / C1.C1Preview Namespace / C1MultiDocument Class / PageAsMetafile Method / PageAsMetafile(Int32) Method
The page index (0-based).

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

    Parameters

    pageIndex
    The page index (0-based).

    Return Value

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