AddStandardFont
Text, Schriften
Beschreibung
Fügt dem Dokument eine Standardschrift hinzu. Diese Standardschriften stehen in allen PDF-Viewern stets zur Verfügung.
Syntax
Delphi
Function TPDFlib.AddStandardFont(StandardFontID: Integer): Integer;
ActiveX
Function PDFlib::AddStandardFont(StandardFontID As Long) As Long
DLL
int DLAddStandardFont(int InstanceID, int StandardFontID);
Parameter
| StandardFontID | Die ID der hinzuzufügenden Schrift: 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 |
|---|
Rückgabewerte
| 0 | Die Schrift konnte nicht hinzugefügt werden |
|---|---|
| Non-zero | Die ID der erfolgreich hinzugefügten Schrift |