Returns a rectangle where the image is displayed.
Namespace:
Aurigma.GraphicsMill.WinControls
Assembly:
Aurigma.GraphicsMill.WinControls.VectorObjects (in Aurigma.GraphicsMill.WinControls.VectorObjects.dll)
Public Overrides Function GetViewportBounds As Rectangle
public override Rectangle GetViewportBounds()
Left-top corner coordinates are measured relatively to the return value of the GetCanvasBounds() method. Width and height do not include an image border (see WorkspaceBorderWidth, WorkspaceBorderEnabled, and WorkspaceBorderColor properties for more details).
If the image is larger than the control client area, left and top coordinates are equal to 0, and width and height of this rectangle are the same as the width and the height of the GetCanvasBounds() return value.