TWidgetSet.GetTextExtentPoint function
Computes the display width and height of a string.
Declaration
function GetTextExtentPoint(DC: HDC; Str: PChar; Count: Integer;
var Size: TSize): Boolean; virtualArguments
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. |
Function result
False on failure.Description
Nothing more than the line above yet.
Errors
May not work properly without Unicode support.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
