This class represents scrollable viewport control.
Namespace:
Aurigma.GraphicsMill.WinControls
Assembly:
Aurigma.GraphicsMill.WinControls (in Aurigma.GraphicsMill.WinControls.dll)
Public Class BitmapViewer _ Inherits ViewerBase
public class BitmapViewer : ViewerBase
This class is intended to display the image represented by the Bitmap object. It allows zooming and scrolling the displayed image. Also, you can add a rubberband rectangle (e.g. use it to select a portion of the image).
To set the image which should be displayed, use the Bitmap property. You can either here assign an instance of the Bitmap class or call loading/creating methods of this class directly.
A number of members specifies the behavior of the image displaying.
If you want to add a selection on the image, you should use the Rubberband property. You should assign here an instance of the RectangleRubberband class.