You’re viewing outdated documentation. View the latest Graphics Mill documentation.

MultiLayerViewer.GetCanvasBounds Method

Applies to: Graphics Mill 5.5, 3.x-5.x (may differ) · Archived documentation

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