[]
Returns a Metafile representing the current page. This method draws input controls.
public Metafile AsMetafile()
Public Function AsMetafile() As Metafile
| Type | Description |
|---|---|
| Metafile | The Metafile representing the current page. |
Returns a Metafile representing the current page.
public Metafile AsMetafile(bool renderInputControls)
Public Function AsMetafile(renderInputControls As Boolean) As Metafile
| Type | Name | Description |
|---|---|---|
| bool | renderInputControls | Indicates whether to draw input controls (see RenderInputBase). |
| Type | Description |
|---|---|
| Metafile | The Metafile representing the current page. |
Returns a Metafile representing the current page.
public Metafile AsMetafile(EmfType emfType, bool whiten)
Public Function AsMetafile(emfType As EmfType, whiten As Boolean) As Metafile
| Type | Name | Description |
|---|---|---|
| EmfType | emfType | Specifies the metafile type. |
| bool | whiten | Indicates whether to fill the page with white color before drawing. |
| Type | Description |
|---|---|
| Metafile | The Metafile representing the current page. |
Returns a Metafile representing the current page.
public Metafile AsMetafile(Graphics referenceGraphics, EmfType emfType, bool whiten, bool renderInputControls)
Public Function AsMetafile(referenceGraphics As Graphics, emfType As EmfType, whiten As Boolean, renderInputControls As Boolean) As Metafile
| Type | Name | Description |
|---|---|---|
| Graphics | referenceGraphics | Specifies the reference graphics for the metafile. |
| EmfType | emfType | Specifies the metafile type. |
| bool | whiten | Indicates whether to fill the page with white color before drawing. |
| bool | renderInputControls | Indicates whether to draw input controls (see RenderInputBase). |
| Type | Description |
|---|---|
| Metafile | The Metafile representing the current page. |
Returns a Metafile representing the current page.
public Metafile AsMetafile(Graphics referenceGraphics, EmfType emfType, bool whiten, bool renderInputControls, SmoothingMode smoothingMode)
Public Function AsMetafile(referenceGraphics As Graphics, emfType As EmfType, whiten As Boolean, renderInputControls As Boolean, smoothingMode As SmoothingMode) As Metafile
| Type | Name | Description |
|---|---|---|
| Graphics | referenceGraphics | Specifies the reference graphics for the metafile. |
| EmfType | emfType | Specifies the metafile type. |
| bool | whiten | Indicates whether to fill the page with white color before drawing. |
| bool | renderInputControls | Indicates whether to draw input controls (see RenderInputBase). |
| SmoothingMode | smoothingMode | Smoothing mode used for drawing. |
| Type | Description |
|---|---|
| Metafile | The Metafile representing the current page. |
Returns a Metafile representing the current page.
public Metafile AsMetafile(Graphics referenceGraphics, PageDrawParams pdp)
Public Function AsMetafile(referenceGraphics As Graphics, pdp As PageDrawParams) As Metafile
| Type | Name | Description |
|---|---|---|
| Graphics | referenceGraphics | The reference graphics for the metafile. |
| PageDrawParams | pdp | The parameters used to draw the metafile. |
| Type | Description |
|---|---|
| Metafile | The Metafile representing the current page. |