Quick PDF logo

SetFormFieldFont

Form fields

Description

Sets the font that the specified form field must use.

Syntax

Delphi

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

ActiveX

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

DLL

int QuickPDFSetFormFieldFont(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 © 2011 Debenu. All rights reserved. AboutContactBlogNewsletterSupportBuyForum