Debenu Quick PDF logo

SelectFont

Text, Fonts

Description

Select one of the fonts which have been added to the selected document. The FontID must be a valid ID as returned by one of the Add*Font functions or returned by GetFontID .

Syntax

Delphi

function TDebenuPDFLibrary1811.SelectFont(FontID: Integer): Integer;

ActiveX

Function DebenuPDFLibrary1811.PDFLibrary::SelectFont(FontID As Long) As Long

DLL

int DPLSelectFont(int InstanceID, int FontID)

Parameters

FontID The ID of the font to select

Return values

0 The specified ID could not be found
1 The font was selected successfully

Copyright © 2020 Debenu. All rights reserved. AboutContactBlogNewsletterSupport