This documentation is for the old version. Go to the latest Graphics Mill docs

VObjectsRubberband.RenderWorkspace Method

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)

Syntax

Visual Basic
Public Function RenderWorkspace As Bitmap
C#
public Bitmap RenderWorkspace()

Return Value

Bitmap which contains the rasterized image.

Remarks

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.

See Also

Reference