Returns a Metafile representing the current page.
Namespace:
C1.C1PreviewAssembly: C1.C1Report.2 (in C1.C1Report.2.dll)
Syntax
C# |
---|
public Metafile AsMetafile( Graphics referenceGraphics, EmfType emfType, bool whiten, bool renderInputControls, SmoothingMode smoothingMode ) |
Visual Basic |
---|
Public Function AsMetafile ( _ referenceGraphics As Graphics, _ emfType As EmfType, _ whiten As Boolean, _ renderInputControls As Boolean, _ smoothingMode As SmoothingMode _ ) 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).
- smoothingMode
- Type: System.Drawing.Drawing2D..::..SmoothingMode
Smoothing mode used for drawing.