Reports for WinForms | ComponentOne
C1.C1Report.4 Assembly / C1.C1Preview Namespace / C1Page Class / AsMetafile Method / AsMetafile(Graphics,EmfType,Boolean,Boolean,SmoothingMode) Method
Specifies the reference graphics for the metafile.
Specifies the metafile type.
Indicates whether to fill the page with white color before drawing.
Indicates whether to draw input controls (see RenderInputBase).
Smoothing mode used for drawing.

In This Topic
    AsMetafile(Graphics,EmfType,Boolean,Boolean,SmoothingMode) 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 emfType As EmfType, _
       ByVal whiten As Boolean, _
       ByVal renderInputControls As Boolean, _
       ByVal smoothingMode As SmoothingMode _
    ) As Metafile

    Parameters

    referenceGraphics
    Specifies the reference graphics for the metafile.
    emfType
    Specifies the metafile type.
    whiten
    Indicates whether to fill the page with white color before drawing.
    renderInputControls
    Indicates whether to draw input controls (see RenderInputBase).
    smoothingMode
    Smoothing mode used for drawing.

    Return Value

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