PrintDocument for WinForms | ComponentOne
C1.PrintDocument.6 Assembly / C1.C1Preview Namespace / C1Page Class / AsMetafile Method / AsMetafile(EmfType,Boolean) Method
Specifies the metafile type.
Indicates whether to fill the page with white color before drawing.

In This Topic
    AsMetafile(EmfType,Boolean) Method
    In This Topic
    Returns a System.Drawing.Imaging.Metafile representing the current page.
    Syntax
    'Declaration
     
    Public Overloads Function AsMetafile( _
       ByVal emfType As EmfType, _
       ByVal whiten As Boolean _
    ) As Metafile
    public Metafile AsMetafile( 
       EmfType emfType,
       bool whiten
    )

    Parameters

    emfType
    Specifies the metafile type.
    whiten
    Indicates whether to fill the page with white color before drawing.

    Return Value

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