Quick PDF logo

GetSubsetString

Text, Fonts

Description

Before drawing text with a subsetted font (see the AddSubsettedFont function) you must remap the string to ensure that the correct character codes are used. This function will remap any Unicode characters added to the font subset to the corresponding character codes assigned to the glyphs in the subsetted font. The string that is returned can be used with any of the text drawing functions.

Syntax

Delphi

function TQuickPDF0726.GetSubsetString(InputStr: WideString): string;

ActiveX

Function QuickPDF0726.PDFLibrary::GetSubsetString(InputStr As String) As String

DLL

char * QuickPDFGetSubsetString(int InstanceID, ERROR InputStr)

Parameters

InputStr The string containing Unicode characters that you would like to have remapped

Copyright © 2011 Debenu. All rights reserved. AboutContactBlogNewsletterSupportBuyForum