SetRubberBandRect method (ILEADRasterView)

Visual Basic example

Visual C++ 5.0 example

Delphi 4 example

C++ Builder example

 

Syntax

void SetRubberBandRect (float fLeft, float fTop, float fWidth, float fHeight);

Overview

Refer to Marking a Selection with a Rubberband

Remarks

Sets the position and size of a rubberband, which is a one-pixel outline of a rectangle on the display surface.

Typically, you would use this method to outline an area that the user selects with a mouse. The unit of measure is determined by the ScaleMode property. This method works with the following properties:

image\sqrblit.gif The RubberbandVisible property lets you set the rubberband to be visible or invisible (effectively, turning it on or off).

image\sqrblit.gif The RubberbandHeight property is the current height.

image\sqrblit.gif The RubberbandLeft property is the current X coordinate of the origin of the rubberband.

image\sqrblit.gif The RubberbandTop property is the current Y coordinate of the origin of the rubberband..

image\sqrblit.gif The RubberbandWidth property is the current width.

See Also

Topics:

Working with the Control: Client Area Usage