Quick PDF logo

AddStandardFont

Text, Fonts

Description

Adds a standard font to the document. These standard fonts will always be available on all PDF viewers.

Syntax

Delphi

function TQuickPDF0813.AddStandardFont(StandardFontID: Integer): Integer;

ActiveX

Function QuickPDF0813.PDFLibrary::AddStandardFont(StandardFontID As Long) As Long

DLL

int QuickPDFAddStandardFont(int InstanceID, int StandardFontID)

Parameters

StandardFontID The ID of the font to add:
0 = Courier
1 = CourierBold
2 = CourierBoldOblique
3 = CourierOblique
4 = Helvetica
5 = HelveticaBold
6 = HelveticaBoldOblique
7 = HelveticaOblique
8 = TimesRoman
9 = TimesBold
10 = TimesItalic
11 = TimesBoldItalic
12 = Symbol
13 = ZapfDingbats

Return values

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

Copyright © 2011 Debenu. All rights reserved. AboutContactBlogNewsletterSupportBuyForum