Returns the width, of a string rendered in the current font.
Delphi 구문:
function TextWidth ( const Text: AnsiString ): Single;
C++ 구문:
float __fastcall TextWidth ( AnsiString Text );
Description:
Length를 결정하려면 TextWidth를 사용하십시오. TextWidth는 주어진 string이 available space에 들어가는지 나타냅니다. Line 또는 additional string 같은 다른 graphical element를 text width에 맞게 배치할 수 있습니다