DrawTextHeight method (ILEADRasterFXD)

Visual Basic example

Visual C++ 5.0 example

Delphi 4 example

C++ Builder example

 

Syntax

float DrawTextHeight(long hDC, BSTR pszText);

Overview

Refer to Drawing Three-Dimensional Shapes and Text.

Remarks

Returns the height of the specified text string, using the current values of the Font property.

The scale is relative to the ILEADRasterView Control's client area. The unit of measure is determined by the ScaleMode property. You can use this method to position the text relative to another drawing object, such as a line or rectangle.

See Also

Elements:

DrawText method

Topics:

Drawing Effects:3D Drawing Special Effects