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

ViewerBase.GetCanvasBounds Method

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

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

Syntax

Visual Basic
Public MustOverride Function GetCanvasBounds As Rectangle
C#
public abstract Rectangle GetCanvasBounds()

Return Value

A rectangle representing the 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 image inside the control, use the GetViewportBounds() method.

See Also

Reference