Debenu Quick PDF logo


Form fields


Sets the default value of the field. This is the value which is shown when the reset button is pressed, if one is on the form.



function TDebenuPDFLibrary1511.SetFormFieldDefaultValueEx(Index: Integer; 
  NewDefaultValue: WideString; Options: Integer): Integer;


Function DebenuPDFLibrary1511.PDFLibrary::SetFormFieldDefaultValueEx(Index As Long,
  NewDefaultValue As String, Options As Long) As Long


int DPLSetFormFieldDefaultValueEx(int InstanceID, int Index,
  wchar_t * NewDefaultValue, int Options)


Index The index of the form field to change
NewDefaultValue The new default value for 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.
Options Specifies new default value string format
0 = Ansi
1 = Unicode
2 = Ansi Hex
3 = Unicode Hex

Return values

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

Copyright © 2014 Debenu. All rights reserved. AboutContactBlogNewsletterSupport