SelectFont
Text, Fonts
Description
Select one of the fonts which have been added to the selected document. The FontID must be a valid ID as returned by one of the Add*Font functions or returned by GetFontID .
Syntax
Delphi
function TPDFlib.SelectFont(FontID: Integer): Integer;ActiveX
Function PDFlib::SelectFont(FontID As Long) As LongDLL
int DLSelectFont(int InstanceID, int FontID);Parameters
| FontID | The ID of the font to select |
|---|
Return values
| 0 | The specified ID could not be found |
|---|---|
| 1 | The font was selected successfully |