Quick PDF logo

SetFormFieldReadOnly

Form fields

Description

Sets the state of a field's ReadOnly flag.

The user cannot change the value of a form field if the ReadOnly flag is set.

Syntax

Delphi

function TQuickPDF0813.SetFormFieldReadOnly(Index, ReadOnly: Integer): Integer;

ActiveX

Function QuickPDF0813.PDFLibrary::SetFormFieldReadOnly(Index As Long,
  ReadOnly As Long) As Long

DLL

int QuickPDFSetFormFieldReadOnly(int InstanceID, int Index, int ReadOnly)

Parameters

Index The index of the form field
ReadOnly 0 = Clear the field's ReadOnly flag
1 = Set the field's ReadOnly flag

Return values

0 Could not find the specified form field
1 The ReadOnly flag was set successfully

Copyright © 2011 Debenu. All rights reserved. AboutContactBlogNewsletterSupportBuyForum