Vcl.ComCtrls.TCustomListView.StringWidth

From RAD Studio API Documentation
Jump to: navigation, search

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.

See Also