Debenu Quick PDF logo

GetFontID

Text, Fonts

Version history

This function was renamed in Quick PDF Library version 7.11.

The function name in earlier versions was FontID.

Description

Returns the ID of the specified font. Before this function is used a call to FindFonts or FontCount must be made in order to generate a list of fonts available for use in the selected document.

Syntax

Delphi

function TDebenuPDFLibrary1511.GetFontID(Index: Integer): Integer;

ActiveX

Function DebenuPDFLibrary1511.PDFLibrary::GetFontID(Index As Long) As Long

DLL

int DPLGetFontID(int InstanceID, int Index)

Parameters

Index The index of the font. The first font has an index of 1.

Return values

0 The index is out of bounds
Non-zero The ID of the specified font

Copyright © 2014 Debenu. All rights reserved. AboutContactBlogNewsletterSupport