[]
        
(Showing Draft Content)

C1.C1Preview.C1Page.AsMetafile

AsMetafile Method

AsMetafile()

Returns a Metafile representing the current page. This method draws input controls.

Declaration
public Metafile AsMetafile()
Public Function AsMetafile() As Metafile
Returns
Type Description
Metafile

The Metafile representing the current page.

See Also

AsMetafile(bool)

Returns a Metafile representing the current page.

Declaration
public Metafile AsMetafile(bool renderInputControls)
Public Function AsMetafile(renderInputControls As Boolean) As Metafile
Parameters
Type Name Description
bool renderInputControls

Indicates whether to draw input controls (see RenderInputBase).

Returns
Type Description
Metafile

The Metafile representing the current page.

See Also

AsMetafile(EmfType, bool)

Returns a Metafile representing the current page.

Declaration
public Metafile AsMetafile(EmfType emfType, bool whiten)
Public Function AsMetafile(emfType As EmfType, whiten As Boolean) As Metafile
Parameters
Type Name Description
EmfType emfType

Specifies the metafile type.

bool whiten

Indicates whether to fill the page with white color before drawing.

Returns
Type Description
Metafile

The Metafile representing the current page.

AsMetafile(Graphics, EmfType, bool, bool)

Returns a Metafile representing the current page.

Declaration
public Metafile AsMetafile(Graphics referenceGraphics, EmfType emfType, bool whiten, bool renderInputControls)
Public Function AsMetafile(referenceGraphics As Graphics, emfType As EmfType, whiten As Boolean, renderInputControls As Boolean) As Metafile
Parameters
Type Name Description
Graphics referenceGraphics

Specifies the reference graphics for the metafile.

EmfType emfType

Specifies the metafile type.

bool whiten

Indicates whether to fill the page with white color before drawing.

bool renderInputControls

Indicates whether to draw input controls (see RenderInputBase).

Returns
Type Description
Metafile

The Metafile representing the current page.

AsMetafile(Graphics, EmfType, bool, bool, SmoothingMode)

Returns a Metafile representing the current page.

Declaration
public Metafile AsMetafile(Graphics referenceGraphics, EmfType emfType, bool whiten, bool renderInputControls, SmoothingMode smoothingMode)
Public Function AsMetafile(referenceGraphics As Graphics, emfType As EmfType, whiten As Boolean, renderInputControls As Boolean, smoothingMode As SmoothingMode) As Metafile
Parameters
Type Name Description
Graphics referenceGraphics

Specifies the reference graphics for the metafile.

EmfType emfType

Specifies the metafile type.

bool whiten

Indicates whether to fill the page with white color before drawing.

bool renderInputControls

Indicates whether to draw input controls (see RenderInputBase).

SmoothingMode smoothingMode

Smoothing mode used for drawing.

Returns
Type Description
Metafile

The Metafile representing the current page.

AsMetafile(Graphics, PageDrawParams)

Returns a Metafile representing the current page.

Declaration
public Metafile AsMetafile(Graphics referenceGraphics, PageDrawParams pdp)
Public Function AsMetafile(referenceGraphics As Graphics, pdp As PageDrawParams) As Metafile
Parameters
Type Name Description
Graphics referenceGraphics

The reference graphics for the metafile.

PageDrawParams pdp

The parameters used to draw the metafile.

Returns
Type Description
Metafile

The Metafile representing the current page.