DrawLine method (ILEADRasterFXD)

Visual Basic example

Visual C++ 5.0 example

Delphi 4 example

C++ Builder example

 

Syntax

short DrawLine (ILEADRaster *pRaster, long hDC, float fX1, float fY1, float fX2, float fY2);

Overview

Refer to Drawing Simple Objects.

Remarks

Draws a line 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 raster 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