Debenu Quick PDF logo

NewFormField

Form fields

Description

Adds a new form field to the selected page.

Syntax

Delphi

function TDebenuPDFLibrary1511.NewFormField(Title: WideString; 
  FieldType: Integer): Integer;

ActiveX

Function DebenuPDFLibrary1511.PDFLibrary::NewFormField(Title As String,
  FieldType As Long) As Long

DLL

int DPLNewFormField(int InstanceID, wchar_t * Title, int FieldType)

Parameters

Title The title of the new form field. The title cannot contain the period "." character.
FieldType The type of the field to create:
1 = Text
2 = Pushbutton
3 = Checkbox
4 = Radiobutton
5 = Choice
6 = Signature
7 = Parent

Return values

0 The new form field could not be created
Non-zero The form field was created successfully, and this is the index of the new field

Copyright © 2014 Debenu. All rights reserved. AboutContactBlogNewsletterSupport