Components for Developers
© 2000-2008, Two Pilots

PDF Library Download Features Manual Tutorials FAQ Pricing HTML2PDF Add-on History In the Lab

PDF Creator Pilot documentation

Download CHM version of this manual.
Text
Collapse All

This method sets the new font for text output.

Syntax

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

PDF Library Download Features Manual Tutorials FAQ Pricing HTML2PDF Add-on History In the Lab

 

 

PDF Library | Virtual Printer | Converters to PDF

Support | Blog | Forum | Contacts

© 2000-2008, Two Pilots