Top   Module   Use   Manual   Index 
 EXPORTING SERVICES | METHODS' SUMMARY | METHODS' DETAILS 

com :: sun :: star :: util ::

interface XStringWidth

Base Interface
com::sun::star::uno::XInterface

Description
An interface that encapsulates the abstract notion of string width.
See also
XStringAbbreviation


Methods' Summary

queryStringWidth Compute the width of a given string.

Methods' Details

queryStringWidth
 
long
queryStringWidth(
[ in ] string String );

Description
Compute the width of a given string.

Depending on the implementation of this interface, the width of a string can be rather different things, like the number of characters in the string, or the width in pixel when displayed with a specific font.

Parameter String
The string that is to be measured.
Returns
the string's width.

Top of Page