Available in the LEADTOOLS Imaging toolkit. |
DrawRectangle method (Main Control)
Visual Basic example
Visual C++ 4.0 example
Visual J++ example
Syntax short DrawRectangle (float fLeft, float fTop, float fWidth, float fHeight);
Overview: Refer to Drawing Simple Objects.
Remarks
Draws a rectangle on the screen or on the bitmap. The DrawPersistence property determines whether the object is drawn on the screen or the bitmap.
Whether you draw to the screen or to the bitmap, drawing objects are always positioned in the Main Control's client area. If the target is the bitmap, LEADTOOLS translates the values to bitmap coordinates.
See Also
Topics: Working
with the Control: Client Area Usage
Raster Images: Drawing on a Bitmap