Home | GR32 | TBitmap32 |
TBitmap32.TextWidth
function TextWidth(const Text: String): Integer;
function TextWidthW(const Text: Widestring): Integer;
Description
Returns the width, in pixels, of a string rendered in the current Font.
Please note that the CLX versions of the non-Unicode methods do also default to Widestring because that is the native QT string format.
See Also
Font, RenderText, TextExtent, TextHeight, TextOut
Copyright ©2000-2007 Alex Denisov and Contributors - Graphics32 v1.8.3 - Build on 4-March-2007