DrawRectangle method (ILEADRasterFXD)

Visual Basic example

Visual C++ 5.0 example

Delphi 4 example

C++ Builder example

 

Syntax

short DrawRectangle(ILEADRaster *pRaster, long hDC, float fLeft, float fTop, float fWidth, float fHeight);

Overview

Refer to Drawing Simple Objects.

Remarks

Draws a rectangle on the screen or on the raster bitmap. The DrawPersistence property determines whether the object is drawn on the screen or the raster bitmap.

Whether you draw to the screen or to the bitmap, drawing objects are always positioned in the ILEADRasterView Control's client area. If the target is the bitmap, LEADTOOLS translates the values to bitmap coordinates.

See Also

Topics:

Drawing Effects:3D Drawing Special Effects