This component is deprecated.
Developers should use roFont methods (GetOneLineHeight and GetOneLineWidth).
The roFontMetrics object allows you to get display size information for a specific font returned by the roFontRegistry.Get() method.
In order to use this object, you must first initialize the roFontMetrics object with a font name that had been previously registered with the roFontRegistry, then the total rendered size of strings in that font can be returned by roFontMetrics.Size().
This object is created with a string that represents the font to use in its size calculations:
- CreateObject("roFontMetrics", String font)