AddStandardFont
Text, Fonts
Description
Adds a standard font to the document. These standard fonts will always be available on all PDF viewers.
Syntax
Delphi
function TPDFlib.AddStandardFont(StandardFontID: Integer): Integer;ActiveX
Function PDFlib::AddStandardFont(StandardFontID As Long) As LongDLL
int DLAddStandardFont(int InstanceID, int StandardFontID);Parameters
| StandardFontID | The ID of the font to add: 0 = Courier 1 = CourierBold 2 = CourierBoldOblique 3 = CourierOblique 4 = Helvetica 5 = HelveticaBold 6 = HelveticaBoldOblique 7 = HelveticaOblique 8 = TimesRoman 9 = TimesBold 10 = TimesItalic 11 = TimesBoldItalic 12 = Symbol 13 = ZapfDingbats |
|---|
Return values
| 0 | The font could not be added |
|---|---|
| Non-zero | The ID of the font that was successfully added |