'Declaration Public Overloads Function AsMetafile( _ ByVal referenceGraphics As System.Drawing.Graphics, _ ByVal emfType As System.Drawing.Imaging.EmfType, _ ByVal whiten As System.Boolean, _ ByVal renderInputControls As System.Boolean, _ ByVal smoothingMode As System.Drawing.Drawing2D.SmoothingMode _ ) As System.Drawing.Imaging.Metafile
public System.Drawing.Imaging.Metafile AsMetafile( System.Drawing.Graphics referenceGraphics, System.Drawing.Imaging.EmfType emfType, System.bool whiten, System.bool renderInputControls, System.Drawing.Drawing2D.SmoothingMode smoothingMode )
Parameters
- referenceGraphics
- Specifies the reference graphics for the metafile.
- emfType
- Specifies the metafile type.
- whiten
- Indicates whether to fill the page with white color before drawing.
- renderInputControls
- Indicates whether to draw input controls (see RenderInputBase).
- smoothingMode
- Smoothing mode used for drawing.
Return Value
The System.Drawing.Imaging.Metafile representing the current page.