Print Page | Close Window

how to select font by name

Printed From: Debenu Quick PDF Library - PDF SDK Community Forum
Category: For Users of the Library
Forum Name: I need help - I can help
Forum Description: Problems and solutions while programming with the Debenu Quick PDF Library and Debenu PDF Viewer SDK
URL: http://www.quickpdf.org/forum/forum_posts.asp?TID=3259
Printed Date: 04 May 24 at 9:56AM
Software Version: Web Wiz Forums 11.01 - http://www.webwizforums.com


Topic: how to select font by name
Posted By: waynefulcher
Subject: how to select font by name
Date Posted: 04 Feb 16 at 6:45PM
I need to write a function that returns the font ID for a specified field.
(I use Delphi 7).

function GetFontID(fldIndex: Integer; PDF: TQuickPDF): Integer ;
begin
   FontName := PDF.GetFormFieldFontName(fldIndex);
   
   // But how do you select font by name????
end ;


Can someone help me with this.

Thanks
Wayne




Replies:
Posted By: Ingo
Date Posted: 04 Feb 16 at 10:25PM
Hi Wayne,

here's a user with an idea for your prob:
http://www.quickpdf.org/forum/get-font-id-using-font-name_topic2858.html



-------------
Cheers,
Ingo




Print Page | Close Window

Forum Software by Web Wiz Forums® version 11.01 - http://www.webwizforums.com
Copyright ©2001-2014 Web Wiz Ltd. - http://www.webwiz.co.uk