Debenu 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 TDebenuPDFLibrary1511.SetFormFieldTextSize(Index: Integer; 
  NewTextSize: Double): Integer;

ActiveX

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

DLL

int DPLSetFormFieldTextSize(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 © 2014 Debenu. All rights reserved. AboutContactBlogNewsletterSupport