Gets the page metafile for export or printing.

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

Syntax

C#
public static Metafile GetPageMetafile(
	Graphics refGraphics,
	int pageNo,
	IList pages,
	Object document
)
Visual Basic
Public Shared Function GetPageMetafile ( _
	refGraphics As Graphics, _
	pageNo As Integer, _
	pages As IList, _
	document As Object _
) As Metafile

Parameters

refGraphics
Type: System.Drawing..::..Graphics
The reference graphics for the metafile.
pageNo
Type: System..::..Int32
The physical page number (1-based index).
pages
Type: System.Collections..::..IList
The pages collection (may be null).
document
Type: System..::..Object
The document (may be null).

Return Value

The metafile.

See Also