PDF Creator Pilot documentation |
Download CHM version of this manual. |
|
![]() ![]() Collapse AllThis method sets the new font for text output.
|
| HRESULT UseFont ( LONG fontNumber, FLOAT fontSizePt ) |
Parameters
fontNumber
Number of the font
fontSizePt
Size (in points) of the font
Return value
If successful, this method returns S_OK. If it fails, this method should return one of the error values.
Remarks
The fontNumber can be retrieved from the AddFont, AddFontFromFile, and AddBuiltInFont methods. See these methods for examples.
See Also
Reference


