Available in the LEADTOOLS Imaging toolkit. |
AutoRubberBand property (Main Control)
Visual Basic example
Visual C++ 4.0 example
Visual J++ example
Syntax BOOL AutoRubberBand
Overview: Refer to Marking a Selection with a Rubberband.
Remarks
Automates the rubberband so that it appears whenever the mouse is moved with the left button down. Once the user lets up on the mouse, the rubber band event fires and the band disappears form the screen.
Handle the event manually to specify whether to leave the rubber band visible on the screen. Use the SetRubberBandRect method to process the mouse event.
The rubberband is a one-pixel outline of a rectangle on the display surface. It is automatically resized with each mouse movement.
Value |
Meaning |
TRUE |
Enable automation of the rubberband. |
FALSE |
Disable automation of the rubberband. |
See Also
Elements: RubberBand event