PrintDocument for WinForms | ComponentOne
C1.PrintDocument.6 Assembly / C1.C1Preview Namespace / C1PrintDocument Class / PageAsMetafile Method
The 1-based page number.

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

    Parameters

    pageNo
    The 1-based page number.

    Return Value

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