Debenu Quick PDF logo

SetFormFieldFont

Form fields

Description

Sets the font that the specified form field must use.

Syntax

Delphi

function TDebenuPDFLibrary1511.SetFormFieldFont(Index, FontIndex: Integer): Integer;

ActiveX

Function DebenuPDFLibrary1511.PDFLibrary::SetFormFieldFont(Index As Long,
  FontIndex As Long) As Long

DLL

int DPLSetFormFieldFont(int InstanceID, int Index, int FontIndex)

Parameters

Index The index of the form field to work with. The first form field has an index of 1.
FontIndex The index of the font to use. The first font in the form has an index of 1. Use GetFormFontCount to determine the number of fonts available in the form.

Return values

0 Bad font index or form field not found
1 Font was set successfully

Copyright © 2014 Debenu. All rights reserved. AboutContactBlogNewsletterSupport