Quick PDF logo

GetFormFieldTextFlags

Form fields

Description

Returns certain properties of a text field.

Syntax

Delphi

function TQuickPDF0813.GetFormFieldTextFlags(Index, ValueKey: Integer): Integer;

ActiveX

Function QuickPDF0813.PDFLibrary::GetFormFieldTextFlags(Index As Long,
  ValueKey As Long) As Long

DLL

int QuickPDFGetFormFieldTextFlags(int InstanceID, int Index, int ValueKey)

Parameters

Index The index of the form field
ValueKey Indicates which property to analyse:
1 = Multiline
2 = Password
3 = FileSelect
4 = DoNotSpellCheck
5 = DoNotScroll

Return values

0 The flag for the specific property is not turned on. For example, if ValueKey is 5 and the function returns 0 this indicates that the form field is allowed to scroll.
1 The flag is turned on. For example, if ValueKey is 2 and the function returns 1 this indicates that the form field is a password field.

Copyright © 2011 Debenu. All rights reserved. AboutContactBlogNewsletterSupportBuyForum