Quick PDF logo

SetFormFieldAlignment

Form fields

Description

Sets the alignment for the specified form field.

Syntax

Delphi

function TQuickPDF0813.SetFormFieldAlignment(Index, Alignment: Integer): Integer;

ActiveX

Function QuickPDF0813.PDFLibrary::SetFormFieldAlignment(Index As Long,
  Alignment As Long) As Long

DLL

int QuickPDFSetFormFieldAlignment(int InstanceID, int Index, int Alignment)

Parameters

Index The index of the form field to work with. The first form field has an index of 1.
Alignment The alignment to use for the form field:
0 = Left alignment
1 = Centered
2 = Right alignment

Return values

0 The form field index was invalid
1 The alignment of the form field was set successfully

Copyright © 2011 Debenu. All rights reserved. AboutContactBlogNewsletterSupportBuyForum