Set the rectangle coordinates.
- Left
- The x-coordinate of the left edge of this rectangle (in the control's window coordinates).
- Top
- The y-coordinate of the top edge of this rectangle (in the control's window coordinates).
- Right
- The x-coordinate of the right edge of this rectangle (in the control's window coordinates).
- Bottom
- The y-coordinate of the bottom edge of this rectangle (in the control's window coordinates).
The rectangle coordinates are updated, and then the display is updated.
This example demonstrates how to display and update a bounding rectangle when the mouse moves over the 3D control. This is extracted from the RubberBandSelect example (available in the Samples directory).
[Visual Basic .NET] | ![]() | |
---|---|---|
|