FLOAT GetUnicodeTextWidth ( BSTR text ) |
This method returns the width (in pixels) of the specified unicode text string for the current font and page properties. Call UseFont to set the desired font before calling this method.
See PageHeight for example.