[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Calculates the number of characters, that fit into some horizontal space.
Source position: winapih.inc line 152
public function TWidgetSet.GetTextExtentExPoint( |
DC: HDC; |
Str: PChar; |
Count: Integer; |
MaxWidth: Integer; |
MaxCount: PInteger; |
PartialWidths: PInteger; |
var Size: TSize |
):Boolean; virtual; |
DC |
|
The device context. |
Str |
|
The string containing the characters. |
Count |
|
The number of bytes in Str, -1 for automatic detection. |
MaxWidth |
|
The maximum display width, in logical units. |
MaxCount |
|
Receives the number of logical (UTF) characters that can be displayed. When Nil, MaxWidth is ignored. |
PartialWidths |
|
Receives the widths for every partial sequence of characters. Can be Nil. |
Size |
|
Receives the total width and height of the display area. |
False on failure.
Version 4.0 | Generated 2025-05-03 | Home |