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