- 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
- Aurigma.GraphicsMill.WinControls Namespace
- BitmapViewer Class
- ClickDragCreateDesigner Class
- ClosedFreehandVObjectCreateDesigner Class
- ClosedPolyLineVObjectCreateDesigner Class
- ColumnChangedEventArgs Class
- ColumnChangedEventHandler Delegate
- ColumnChangeType Enumeration
- ColumnClickEventArgs Class
- ColumnClickEventHandler Delegate
- ColumnEventArgs Class
- ColumnInsertingEventArgs Class
- ColumnInsertingEventHandler Delegate
- ColumnRemovingEventArgs Class
- ColumnRemovingEventHandler Delegate
- ColumnsEventArgs Class
- ColumnsInsertedEventArgs Class
- ColumnsInsertedEventHandler Delegate
- ColumnsRemovedEventArgs Class
- ColumnsRemovedEventHandler Delegate
- CompositeVObject Class
- CompositeVObjectEditDesigner Class
- ControlPoint Class
- ControlPointCollection Class
- ControlPointType Enumeration
- CrossedEllipseControlPoint Class
- DefaultDesigner Class
- DesignerChangedEventArgs Class
- DesignerChangedEventHandler Delegate
- DiamondControlPoint Class
- DragVObjectAction Class
- EllipseControlPoint Class
- EllipseRubberband Class
- EllipseVObject Class
- EllipseVObjectCreateDesigner Class
- FreehandVObject Class
- FreehandVObjectCreateDesigner Class
- GenericVObjectEditDesigner Class
- IconChangedEventArgs Class
- IconChangedEventHandler Delegate
- IControlPointCollection Interface
- IControlPointsProvider Interface
- ICoordinateMapper Interface
- IDesigner Interface
- IImageList Interface
- IListItem Interface
- ImageFitMode Enumeration
- ImagePrintDocument Class
- ImageRemovedEventArgs Class
- ImageRemovedEventHandler Delegate
- ImageVObject Class
- ImageVObjectCreateDesigner Class
- INavigator Interface
- InvalidationTarget Class
- IQueueItem Interface
- IRubberband Interface
- ItemActionRequestEventArgs Class
- ItemDragEventArgs Class
- ItemDragEventHandler Delegate
- ItemEventArgs Class
- ItemInsertingEventArgs Class
- ItemInsertingEventHandler Delegate
- ItemRemovingEventHandler Delegate
- ItemsEventArgs Class
- ItemsInsertedEventArgs Class
- ItemsInsertedEventHandler Delegate
- ItemsRemovedEventArgs Class
- ItemsRemovedEventHandler Delegate
- IUserInputController Interface
- IVObject Interface
- IVObjectAction Interface
- IVObjectActionCollection Interface
- IVObjectHost Interface
- JointControlPointsProvider Class
- JointVObjectActionCollection Class
- LabelEditedEventArgs Class
- LabelEditedEventHandler Delegate
- LabelEditingEventHandler Delegate
- Layer Class
- LayerChangedEventArgs Class
- LayerChangedEventHandler Delegate
- LayerChangeType Enumeration
- LayerCollection Class
- LayerEventArgs Class
- LayerEventHandler Delegate
- LayerRemovedEventArgs Class
- LayerRemovedEventHandler Delegate
- LineVObject Class
- LineVObjectCreateDesigner Class
- ListColumn Class
- ListColumnCollection Class
- ListColumnTypeConverter Class
- ListItem Class
- ListItemCollection Class
- MaskStyle Enumeration
- MouseEventArgs Class
- MouseEventHandler Delegate
- MultiLayerViewer Class
- MultiLayerViewerInvalidationTarget Class
- PanNavigator Class
- PathControlPoint Class
- PathVObject Class
- PathVObjectCreateDesigner Class
- Pidl Class
- PidlType Enumeration
- PlacementMode Enumeration
- PolylineVObject Class
- PolylineVObject.MoveNodeAction Class
- PolyLineVObjectCreateDesigner Class
- PrintOptions Class
- PrintPlaceholder Class
- QueryImageEventArgs Class
- QueryImageEventHandler Delegate
- QueueItemMethodState Enumeration
- QueueManager Class
- RectangleChangeMode Enumeration
- RectangleController Class
- RectangleControlPoint Class
- RectangleEventArgs Class
- RectangleEventHandler Delegate
- RectangleRubberband Class
- RectangleVObject Class
- RectangleVObjectCreateDesigner Class
- ResizeMode Enumeration
- ResizeVObjectAction Class
- RotateVObjectAction Class
- ScrollBarsStyle Enumeration
- ScrollValue Enumeration
- SkewVObjectAction Class
- StandardFolder Enumeration
- StateChangedEventArgs Class
- StateChangedEventHandler Delegate
- StateChangingEventArgs Class
- StateChangingEventHandler Delegate
- StateType Enumeration
- TextChangedEventArgs Class
- TextChangedEventHandler Delegate
- TextVObject Class
- TextVObject.ChangeTextAreaAction Class
- TextVObjectCreateDesigner Class
- ThumbnailListItem Class
- ThumbnailListView Class
- UserInputController Class
- View Enumeration
- ViewChangedEventArgs Class
- ViewChangedEventHandler Delegate
- ViewerBase Class
- ViewportAlignment Enumeration
- VirtualListView Class
- VObject Class
- VObjectAction Class
- VObjectActionCollection Class
- VObjectCollection Class
- VObjectDrawMode Enumeration
- VObjectEventArgs Class
- VObjectEventHandler Delegate
- VObjectsRubberband Class
- WorkspaceBackgroundStyle Enumeration
- ZoomInNavigator Class
- ZoomMode Enumeration
- ZoomOutNavigator Class
- ZoomQuality Enumeration
- ZoomRectangleNavigator Class
- 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.WinControls
Assembly:
Aurigma.GraphicsMill.WinControls (in Aurigma.GraphicsMill.WinControls.dll)
Syntax
Public Class RectangleRubberband _
Inherits RectangleController _
Implements IRubberband, IUserInputController
public class RectangleRubberband : RectangleController, IRubberband, IUserInputController
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.