- Aurigma Graphics Mill 5.5 for .NET
- Introduction
- What's New?
- Overview of Features
- Getting Started
- Programming with Graphics Mill for .NET
- File Formats
- Graphics Mill for .NET Add-ons
- Class Library Reference
- Aurigma.GraphicsMill Namespace
- Aurigma.GraphicsMill.AjaxControls Namespace
- Aurigma.GraphicsMill.AjaxControls.VectorObjects Namespace
- Aurigma.GraphicsMill.AjaxControls.VectorObjects.Math Namespace
- Aurigma.GraphicsMill.AjaxControls.VectorObjects.RedoUndo Namespace
- Aurigma.GraphicsMill.Codecs Namespace
- Aurigma.GraphicsMill.Drawing Namespace
- Aurigma.GraphicsMill.Licensing Namespace
- Aurigma.GraphicsMill.Transforms Namespace
- Aurigma.GraphicsMill.WebControls Namespace
- BitmapViewer Class
- BitmapViewerClientSideOptions Class
- BrowserImageFormat Enumeration
- ControllerConverter Class
- ControlNotFoundException Class
- FileCache Class
- FileCacheTimeoutException Class
- ImageClickEventArgs Class
- ImageClickEventHandler Delegate
- ImageControlBase Class
- INavigator Interface
- IRubberband Interface
- IUserInputController Interface
- NavigatorConverter Class
- PanNavigator Class
- RectangleController Class
- RectangleEventArgs Class
- RectangleEventHandler Delegate
- RectangleRubberband Class
- RemoteScriptingMethodAttribute Class
- RemoteScriptingParameterCountException Class
- RemoteScriptingTypeNotSupportedException Class
- ResizeMode Enumeration
- RubberbandConverter Class
- ScrollBarsStyle Enumeration
- UserInputController Class
- ZoomInNavigator Class
- ZoomMode Enumeration
- ZoomOutNavigator Class
- ZoomQuality Enumeration
- ZoomRectangleNavigator Class
- Aurigma.GraphicsMill.WinControls Namespace
- GraphicsMill Namespace (Client Class Library)
- Aurigma.GraphicsMill.AjaxControls Namespace (Client Class Library)
- Aurigma.GraphicsMill.AjaxControls.VectorObjects Namespace (Client Class Library)
- Aurigma.GraphicsMill.AjaxControls.VectorObjects.Math Namespace (Client Class Library)
- Aurigma.GraphicsMill.AjaxControls.VectorObjects.RedoUndo Namespace (Client Class Library)
- Samples
- Licensing
- Copyright Notices
RectangleRubberband Class
This class represents the rectangular rubberband.
Namespace:
Aurigma.GraphicsMill.WebControls
Assembly:
Aurigma.GraphicsMill.WebControls (in Aurigma.GraphicsMill.WebControls.dll)
Syntax
Public Class RectangleRubberband _
Inherits RectangleController _
Implements IRubberband, IUserInputController, IPostBackDataHandler, IPostBackEventHandler
public class RectangleRubberband : RectangleController, IRubberband, IUserInputController,
IPostBackDataHandler, IPostBackEventHandler
Remarks
You can use this class to draw a rectangle on the BitmapViewer control surface. Depending on this control properties you can resize (see ResizeMode property) or move (see Movable property) this rectangle by the mouse. This way this rubberband is extremely useful to make a rectangular selection on the bitmap.
To get or set the rectangle (selection) programmatically, you can use property Rectangle. It will return the rectangle displayed at the BitmapViewer control in coordinates of the bitmap associated with it.
The rectangle can be resized either arbitrary, or only increase or decrease the width and height equally (i.e. preserving the rectangle proportion). It is specified by the ResizeMode property. The required aspect ratio is specified with the Ratio property.
You can specify whether to display a mask which shadows the image out of the rectangle. It is convenient when you use this rubberband together with the Crop transform. Use MaskVisible property for it.