HRESULT UseFont2 ( LONG fontNumber, FLOAT fontSizePt, VARIANT_BOOL underline, VARIANT_BOOL strikeout ) |
The fontNumber can be retrieved from the AddFont, AddFontFromFile, and AddBuiltInFont methods. See these methods for examples.
This method is equivqlent of the UseFont method, but it allows you to set current font with underline and/or strikeout style.