UpdateAppearanceStream

Form fields

Description

Generates an appearance stream for the form field. Appearance streams can be generated for text, pushbutton and choice form fields.

Syntax

Delphi

function TPDFlib.UpdateAppearanceStream(Index: Integer): Integer;

ActiveX

Function PDFlib::UpdateAppearanceStream(Index As Long) As Long

DLL

int DLUpdateAppearanceStream(int InstanceID, int Index);

Parameters

IndexThe index of the form field to work with. The first form field has an index of 1.

Return values

0The form field could not be found or an appearance stream could not be created for the specified field
1The appearance stream for the specified form field was created successfully