Debenu Quick PDF logo

SetFormFieldOptional

Form fields, Content Streams and Optional Content Groups

Description

Adds a form field to an optional content group.

Syntax

Delphi

function TDebenuPDFLibrary1511.SetFormFieldOptional(Index, 
  OptionalContentGroupID: Integer): Integer;

ActiveX

Function DebenuPDFLibrary1511.PDFLibrary::SetFormFieldOptional(Index As Long,
  OptionalContentGroupID As Long) As Long

DLL

int DPLSetFormFieldOptional(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

Copyright © 2014 Debenu. All rights reserved. AboutContactBlogNewsletterSupport