Quick PDF logo

SetFormFieldTextSize

Text, Form fields

Description

Sets the size of the text in the specified form field. A value of 0 indicates that the form field autosizes the text to fit into the available space.

Syntax

Delphi

function TQuickPDF0813.SetFormFieldTextSize(Index: Integer; 
  NewTextSize: Double): Integer;

ActiveX

Function QuickPDF0813.PDFLibrary::SetFormFieldTextSize(Index As Long,
  NewTextSize As Double) As Long

DLL

int QuickPDFSetFormFieldTextSize(int InstanceID, int Index, double NewTextSize)

Parameters

Index The index of the form field to work with. The first form field has an index of 1.
NewTextSize The new size in points of the form field's font

Return values

0 The form field could not be found
1 The form field font size was set successfully

Copyright © 2011 Debenu. All rights reserved. AboutContactBlogNewsletterSupportBuyForum