Quick PDF logo

SetFormFieldValueByTitle

Form fields

Description

Sets the value of all the form fields with the specified title. The appearance streams for the form fields are generated if SetNeedAppearances(1) has been called.

Syntax

Delphi

function TQuickPDF0815.SetFormFieldValueByTitle(Title, 
  NewValue: WideString): Integer;

ActiveX

Function QuickPDF0815.PDFLibrary::SetFormFieldValueByTitle(Title As String,
  NewValue As String) As Long

DLL

int QuickPDFSetFormFieldValueByTitle(int InstanceID, wchar_t * Title,
  wchar_t * NewValue)

Parameters

Title The title of the form field to set.
NewValue The new value of the form field. For multi-line text fields you can use Chr(13) or Chr(13) + Chr(10) to force a line feed between lines.

Return values

0 The form field could not be found
1 The value of the form field was set successfully

Copyright © 2011 Debenu. All rights reserved. AboutContactBlogNewsletterSupportBuyForum