SetFormFieldOptional

Formularfelder, Inhaltsströme und optionale Inhaltsgruppen

Beschreibung

Verknüpft ein Formularfeld mit einer Gruppe optionaler Inhalte oder einem Mitgliedschafts-Dictionary.

Syntax

Delphi

Function TPDFlib.SetFormFieldOptional(Index, OptionalContentGroupID: Integer): Integer;

ActiveX

Function PDFlib::SetFormFieldOptional(Index As Long, OptionalContentGroupID As Long) As Long

DLL

int DLSetFormFieldOptional(int InstanceID, int Index, int OptionalContentGroupID);

Parameter

IndexDer Index des Formularfelds
OptionalContentGroupIDEin Handle einer Gruppe optionaler Inhalte oder ein von NewOptionalContentMembership zurückgegebenes Mitgliedschaftshandle

Rückgabewerte

0Das Handle für optionale Inhalte oder der Parameter Index war ungültig
1Das Feld wurde erfolgreich mit dem Objekt für optionale Inhalte verknüpft