| LibreOffice
    LibreOffice 24.8 SDK API Reference | 
An interface that encapsulates the abstract notion of string width. More...
import "XStringWidth.idl";
 
  
| Public Member Functions | |
| long | queryStringWidth ([in] string aString) | 
| compute the width of a given string. | |
| Public Member Functions inherited from XInterface | |
| any | queryInterface ([in] type aType) | 
| queries for a new interface to an existing UNO object. | |
| void | acquire () | 
| increases the reference counter by one. | |
| void | release () | 
| decreases the reference counter by one. | |
An interface that encapsulates the abstract notion of string width.
| long queryStringWidth | ( | [in] string | aString | ) | 
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.
| aString | The string that is to be measured. |