Print Page | Close Window

note on html formatting codes

Printed From: Debenu Quick PDF Library - PDF SDK Community Forum
Category: For Users of the Library
Forum Name: Sample Code
Forum Description: Share Debenu Quick PDF Library sample code with other forum members
URL: http://www.quickpdf.org/forum/forum_posts.asp?TID=2031
Printed Date: 02 May 24 at 11:13PM
Software Version: Web Wiz Forums 11.01 - http://www.webwizforums.com


Topic: note on html formatting codes
Posted By: greenley
Subject: note on html formatting codes
Date Posted: 06 Nov 11 at 7:20PM
I was struggling to find why font size was not working in a html formatting line and found that a line like (using CBuilder 6:

QP.SetTableCellContent(tableID, 2, 2, L"<font size = \"14pt\"><i>$481 </i></font>");

will not work because of the spaces around the equals. To make this work you need to use it like:

QP.SetTableCellContent(tableID, 2, 2, L"<font size=\"14pt\"><i>$481 </i></font>");

Maybe this will help someone.
Bill



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