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

MultiLayerViewer.GetCanvasBounds Method

Returns a rectangle of the multi-layer viewer client area (without scroll bars).

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

Syntax

Visual Basic
Public Overrides Function GetCanvasBounds As Rectangle
C#
public override Rectangle GetCanvasBounds()

Return Value

A rectangle representing the multi-layer viewer client area.

Remarks

Left-top corner coordinates are measured relatively to the parent form using its coordinate system. Width and height do not include scroll bars and a border.

To get a rectangle occupied by the bitmap inside the control, use the GetViewportBounds() method.

See Also

Reference