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

Canvas.RenderWorkspace Method

Renders all v-object in the workspace into a raster image with the specified resolution and color space.

Namespace: Aurigma.GraphicsMill.AjaxControls.VectorObjects
Assembly: Aurigma.GraphicsMill.AjaxControls.VectorObjects (in Aurigma.GraphicsMill.AjaxControls.VectorObjects.dll)

Syntax

Visual Basic
Public Function RenderWorkspace ( _
	dpi As Single, _
	colorSpace As ColorSpace _
) As Bitmap
C#
public Bitmap RenderWorkspace(
	float dpi,
	ColorSpace colorSpace
)

Parameters

dpi

Type: System.Single

The resolution in DPI of the result image.
colorSpace

Type: Aurigma.GraphicsMill.ColorSpace

The destination color space.

Return Value

The Bitmap containing the result image.

See Also

Reference