Creates and initializes GdiGraphics class instance associated with Bitmap object.
Namespace:
Aurigma.GraphicsMill.Drawing
Assembly:
Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
Public Sub New ( _ bitmap As Bitmap _ )
public GdiGraphics( Bitmap bitmap )
Type: Aurigma.GraphicsMill.Bitmap
Bitmap object to associate this GdiGraphics with.You cannot create several GdiGraphics instances associated with the same Bitmap. If the bitmap argument is already used with some GdiGraphics, this constructor will fails. To release the bitmap from the GdiGraphics, you should dispose it.
If you dispose the bitmap earlier than this GdiGraphics instance, you will not be able to use it.