Vcl.ComCtrls.TCustomListView.StringWidth
Delphi
function StringWidth(S: string): Integer;
C++
int __fastcall StringWidth(System::UnicodeString S);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | Vcl.ComCtrls.pas Vcl.ComCtrls.hpp |
Vcl.ComCtrls | TCustomListView |
Description
Returns the width of a string, using the list view's current font.
Call StringWidth to determine the space, in pixels, required to display a string using the list view's current font.