SetFormFieldOptional
Form fields, Content Streams and Optional Content Groups
Description
Adds a form field to an optional content group.
Syntax
Delphi
function TQuickPDF0813.SetFormFieldOptional(Index,
OptionalContentGroupID: Integer): Integer;
ActiveX
Function QuickPDF0813.PDFLibrary::SetFormFieldOptional(Index As Long,
OptionalContentGroupID As Long) As Long
DLL
int QuickPDFSetFormFieldOptional(int InstanceID, int Index,
int OptionalContentGroupID)
Parameters
| Index | The index of the form field |
| OptionalContentGroupID | An ID returned by the NewOptionalContentGroup, GetOptionalContentGroupID or GetOptionalContentConfigOrderItemID functions |
Return values
| 0 | The OptionalContentGroupID or Index parameter was invalid |
| 1 | The field was added to the optional content group successfully |