PrintDocument for WinForms | ComponentOne
C1.PrintDocument.4.8 Assembly / C1.C1Preview Namespace / C1Page Class / AsMetafile Method / AsMetafile(Graphics,PageDrawParams) Method
The reference graphics for the metafile.
The parameters used to draw the metafile.

In This Topic
    AsMetafile(Graphics,PageDrawParams) Method
    In This Topic
    Returns a System.Drawing.Imaging.Metafile representing the current page.
    Syntax
    'Declaration
     
    Public Overloads Function AsMetafile( _
       ByVal referenceGraphics As Graphics, _
       ByVal pdp As PageDrawParams _
    ) As Metafile
    public Metafile AsMetafile( 
       Graphics referenceGraphics,
       PageDrawParams pdp
    )

    Parameters

    referenceGraphics
    The reference graphics for the metafile.
    pdp
    The parameters used to draw the metafile.

    Return Value

    The System.Drawing.Imaging.Metafile representing the current page.
    See Also