Gets a Metafile that represents the specified page.

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

Syntax

C#
public Metafile PageAsMetafile(
	int pageIndex,
	bool renderInputControls,
	SmoothingMode smoothingMode
)
Visual Basic
Public Function PageAsMetafile ( _
	pageIndex As Integer, _
	renderInputControls As Boolean, _
	smoothingMode As SmoothingMode _
) As Metafile

Parameters

pageIndex
Type: System..::..Int32
The page index (0-based).
renderInputControls
Type: System..::..Boolean
A value indicating whether to render input (preview forms) controls.
smoothingMode
Type: System.Drawing.Drawing2D..::..SmoothingMode
The smoothing mode to use.

Return Value

The Metafile representing the specified page, or null if index was invalid.

See Also