Quick PDF logo

SetFormFieldCaption

Form fields

Description

Sets the caption of the form field. This applies to buttons, checkboxes and radiobutton form fields only.

Syntax

Delphi

function TQuickPDF0813.SetFormFieldCaption(Index: Integer; 
  NewCaption: WideString): Integer;

ActiveX

Function QuickPDF0813.PDFLibrary::SetFormFieldCaption(Index As Long,
  NewCaption As String) As Long

DLL

int QuickPDFSetFormFieldCaption(int InstanceID, int Index, wchar_t * NewCaption)

Parameters

Index The index of the form field
NewCaption The new caption for the form field.

Return values

0 The form field could not be found or the parameters were invalid
1 The caption of the form field was set successfully

Copyright © 2011 Debenu. All rights reserved. AboutContactBlogNewsletterSupportBuyForum