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

BitmapViewer.GetCanvasBounds Method

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

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


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

Return Value

A rectangle representing the bitmap viewer client area.


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