[]
        
(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()
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)
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)
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)
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)
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)
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.