Exports all v-objects of a workspace as Bitmap with a transparent background.
Namespace:
Aurigma.GraphicsMill.WinControls
Assembly:
Aurigma.GraphicsMill.WinControls.VectorObjects (in Aurigma.GraphicsMill.WinControls.VectorObjects.dll)
Public Function RenderWorkspace As Bitmap
public Bitmap RenderWorkspace()
This method returns a bitmap with v-objects rendered on a transparent background. The bitmap is automatically cropped to the size of the bitmap for which the rubberband is created.
The result bitmap does not contain the background bitmap loaded in the host control. It contains only those v-objects which belong to this rubberband. If you need to merge it with the background, you should draw the result bitmap on the background explicitly.