[]
Creates a new gdi graphics from a gdi+ graphics.
public static Graphics FromGdiplusGraphics(Graphics gdiplusGraphics)
Public Shared Function FromGdiplusGraphics(gdiplusGraphics As Graphics) As Graphics
| 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)
Public Shared Function FromGdiplusGraphics(gdiplusGraphics As Graphics, keptClipRegion As Boolean) As Graphics
| 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. |