Debenu Quick PDF logo

AddPackagedFont

Version history

This function is not available from Quick PDF Library version 7.11.

The AddTrueTypeFontFromFile function should be used instead.

Description

Adds a packaged font to the document. This feature can be used to add a TrueType font to a document on a system where the font may not or cannot be installed (for example a web server). Please contact support for details on the format of the packaged font for legacy purposes.

Definition

function AddPackagedFont(FontPack As String) As Long

Parameters

FontPack The name of the packaged font file to load.

Returns

0 The font could not be added.
Non-zero The ID of the font that was successfully added.