SetFormFieldStandardFont

Fonts, Form fields

Description

Sets a form field to use a standard font. A standard font must be used in Acrobat 4 and earlier if the form field contains a border or is rotated.

Syntax

Delphi

function TPDFlib.SetFormFieldStandardFont(Index, StandardFontID: Integer): Integer;

ActiveX

Function PDFlib::SetFormFieldStandardFont(Index As Long, StandardFontID As Long) As Long

DLL

int DLSetFormFieldStandardFont(int InstanceID, int Index, int StandardFontID);

Parameters

IndexThe index of the form field
StandardFontIDThe 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