



Collapse All
Syntax| HRESULT UseFont2 ( LONG fontNumber, FLOAT fontSizePt, VARIANT_BOOL underline, VARIANT_BOOL strikeout ) |
RemarksThe 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.
See Also