Print Page | Close Window

QickPdf - DrawMultilinetext with different fonts

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=3171
Printed Date: 06 May 24 at 3:03AM
Software Version: Web Wiz Forums 11.01 - http://www.webwizforums.com


Topic: QickPdf - DrawMultilinetext with different fonts
Posted By: FrankW
Subject: QickPdf - DrawMultilinetext with different fonts
Date Posted: 29 Aug 15 at 5:12PM
Hi,

I 'm new to QuickPdf and have a problem with the following task:

Have to create a new pdf with text, graphs and vectors. So far so good.
Now there are up to 15 single Textlines, each could have another font formatting information.
These Textlines must be drawn together in one textblock, line by line.

Drawtextbox or DrawMultiLineText only have one font information for the whole block.
With DrawText it could work, but therefore I must calculate the Y-Position (line spacing) for each line.

Thanks for tips or recommendations !

Frank



Replies:
Posted By: mLipok
Date Posted: 29 Aug 15 at 10:47PM
check for HTML drawing function

http://www.debenu.com/docs/pdf_library_reference/HTMLText.php



-------------
Here you can find description how to test my examples:
http://www.quickpdf.org/forum/forum_posts.asp?TID=2932&PID=12600&title=drawcapturedpagematrix-matrix-howto#12600


Posted By: FrankW
Date Posted: 30 Aug 15 at 6:39PM
HTML is a good idea, I'll try it, thanks !
But I guess vertical line spacing can not be adjusted...



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