AddFormFont

Fonts, Form fields

Description

Adds a font to the form.

The font must have been added using one of the Add*Font functions.

Syntax

Delphi

function TPDFlib.AddFormFont(FontID: Integer): Integer;

ActiveX

Function PDFlib::AddFormFont(FontID As Long) As Long

DLL

int DLAddFormFont(int InstanceID, int FontID);

Parameters

FontIDThe FontID returned by one of the Add*Font functions

Return values

0Invalid FontID
Non-zeroThe font was added successfully, the value returned is the number of fonts available for use by form fields