Debenu Quick PDF logo

AddToUnicodeFontGroup

Text, Fonts

Version history

This function was introduced in Quick PDF Library version 13.12.

Description

Adds an existing Unicode font to a font group. Text can be drawn using any available glyph from the fonts in the font group using the DrawFontGroupText function.

Syntax

Delphi

function TDebenuPDFLibrary1511.AddToUnicodeFontGroup(FontGroupName: WideString; 
  FontID: Integer): Integer;

ActiveX

Function DebenuPDFLibrary1511.PDFLibrary::AddToUnicodeFontGroup(
  FontGroupName As String, FontID As Long) As Long

DLL

int DPLAddToUnicodeFontGroup(int InstanceID, wchar_t * FontGroupName, int FontID)

Parameters

FontGroupName A name for the font group
FontID The ID of the font to use. Must be a font added using the AddUnicodeFontFromFile or AddUnicodeFont functions.

Return values

0 The FontID parameter was invalid
1 The font was successfully added to the font group

Copyright © 2014 Debenu. All rights reserved. AboutContactBlogNewsletterSupport