'Declaration
Public Overloads Function AsMetafile( _
ByVal As System.Drawing.Graphics, _
ByVal As System.Drawing.Imaging.EmfType, _
ByVal As System.Boolean, _
ByVal As System.Boolean _
) As System.Drawing.Imaging.Metafile
public System.Drawing.Imaging.Metafile AsMetafile(
System.Drawing.Graphics ,
System.Drawing.Imaging.EmfType ,
System.bool ,
System.bool
)
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).
Return Value
The System.Drawing.Imaging.Metafile representing the current page.