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

interface XStringWidth
Base Interfaces
::com::sun::star::uno::XInterface
  |  
  +--XStringWidth
::com::sun::star::uno::XInterface
(referenced interface's summary:)
base interface of all UNO interfaces
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  aString );

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 aString
The string that is to be measured.
Returns
the string's width.
Top of Page