Computes the display width and height of a string.
Source position: winapih.inc line 153
public function TWidgetSet.GetTextExtentPoint( |
DC: HDC; |
Str: PChar; |
Count: Integer; |
var Size: TSize |
):Boolean; virtual; |
DC |
|
The display DC. |
Str |
|
The text. |
Count |
|
The number of bytes in Str, -1 for automatic detection. |
Size |
|
Receives the total width and height of the required display area. |
False on failure.
May not work properly without Unicode support.
|
Calculates the number of characters, that fit into some horizontal space. |
CT Web help |
CodeTyphon Studio |