Returns a Metafile representing the current page.

Namespace:  C1.C1Preview
Assembly:  C1.C1Report.2 (in C1.C1Report.2.dll)

Syntax

C#
public Metafile AsMetafile(
	Graphics referenceGraphics,
	EmfType emfType,
	bool whiten,
	bool renderInputControls
)
Visual Basic
Public Function AsMetafile ( _
	referenceGraphics As Graphics, _
	emfType As EmfType, _
	whiten As Boolean, _
	renderInputControls As Boolean _
) As Metafile

Parameters

referenceGraphics
Type: System.Drawing..::..Graphics
Specifies the reference graphics for the metafile.
emfType
Type: System.Drawing.Imaging..::..EmfType
Specifies the metafile type.
whiten
Type: System..::..Boolean
Indicates whether to fill the page with white color before drawing.
renderInputControls
Type: System..::..Boolean
Indicates whether to draw input controls (see RenderInputBase).

Return Value

The Metafile representing the current page.

See Also