Do you own a Debenu Quick PDF Library version 7, 8, 9, 10, 11, 12, 13 or iSEDQuickPDF license? Upgrade to Debenu Quick PDF Library 14 today!
![]() |
DrawHTMLTextBox - UL alignment |
Post Reply ![]() |
Author | |
rweetch ![]() Senior Member ![]() Joined: 22 Feb 11 Status: Offline Points: 173 |
![]() ![]() ![]() ![]() ![]() Posted: 20 Mar 12 at 1:08PM |
I am writing some html to a box area and the text contains a set of bullet points. Unfortunately the bullet points are rendred outside the area with the text aligning with the left border of the area and the bullet point to the right of that.
The text is
'<ul><li>some text 1</li><li>some text 2</li></ul>'
Any ideas? Thanks
|
|
![]() |
|
Jan ![]() Beginner ![]() Joined: 24 May 10 Location: Czech Republic Status: Offline Points: 14 |
![]() ![]() ![]() ![]() ![]() |
On 7.26 it look's correct?
qp.SetOrigin(1); qp.SetPageDimensions(598.0, 845.0);
int iFontID = qp.AddTrueTypeFont("Times New Roman {1250}", 0);
qp.SetHTMLNormalFont( "Times New Roman {1250}", iFontID);qp.DrawBox(10, 0, 300, 100, 0); qp.DrawHTMLTextBox(10, 0, 300, 100, "<ul><li>some text 1</li><li>some text 2</li></ul>"); |
|
![]() |
|
AndrewC ![]() Moderator Group ![]() ![]() Joined: 08 Dec 10 Location: Geelong, Aust Status: Offline Points: 841 |
![]() ![]() ![]() ![]() ![]() |
Andrew.
Edited by AndrewC - 22 Mar 12 at 10:53AM |
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |
Copyright © 2017 Debenu. Debenu Quick PDF Library is a PDF SDK. All rights reserved. About — Contact — Blog — Support — Online Store