[]
Creates a new gdi graphics from a gdi+ graphics.
public static Graphics FromGdiplusGraphics(Graphics gdiplusGraphics)
| Type | Name | Description |
|---|---|---|
| Graphics | gdiplusGraphics | A Graphics indicates the gdi+ graphics. |
| Type | Description |
|---|---|
| Graphics | Returns a Graphics that indicates the gdi graphics. |
Creates a new gdi graphics from a gdi+ graphics.
This method kept the clip region, but remains low performance, when keptClipRegion is set to true.
public static Graphics FromGdiplusGraphics(Graphics gdiplusGraphics, bool keptClipRegion)
| Type | Name | Description |
|---|---|---|
| Graphics | gdiplusGraphics | A Graphics indicates the gdi+ graphics. |
| bool | keptClipRegion | A bool indicate whether kept original clip region of gdip graphics |
| Type | Description |
|---|---|
| Graphics | Returns a Graphics that indicates the gdi graphics. |