Returns a rectangle where the image is displayed.
Namespace:
Aurigma.GraphicsMill.WinControls
Assembly:
Aurigma.GraphicsMill.WinControls (in Aurigma.GraphicsMill.WinControls.dll)
Public MustOverride Function GetViewportBounds As Rectangle
public abstract Rectangle GetViewportBounds()
Left-top corner coordinates are measured relatively to the return value of the GetCanvasBounds() method. Width and height do not include a bitmap border.
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.