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!

Debenu Quick PDF Library - PDF SDK Community Forum Homepage
Forum Home Forum Home > For Users of the Library > I need help - I can help
  New Posts New Posts RSS Feed - Using <br> in DrawHTMLTextBox()
  FAQ FAQ  Forum Search   Register Register  Login Login

Using <br> in DrawHTMLTextBox()

 Post Reply Post Reply
Author
Message
einar View Drop Down
Beginner
Beginner
Avatar

Joined: 18 Mar 10
Location: Norway
Status: Offline
Points: 11
Post Options Post Options   Thanks (0) Thanks(0)   Quote einar Quote  Post ReplyReply Direct Link To This Post Topic: Using <br> in DrawHTMLTextBox()
    Posted: 11 Jul 11 at 2:09PM
I am creating a PDF and are displaying a memo-field with DrawHTMLTextBox(). In the memo-field I replace all CHR(13) with "<br>" to get the hard line breaks. But when having two "<br>" and no text between, like "<br><br>" I get only one line break and no blank line. I have version 7.21. How do I fix this?
Back to Top
Ingo View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 29 Oct 05
Status: Offline
Points: 3524
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ingo Quote  Post ReplyReply Direct Link To This Post Posted: 11 Jul 11 at 9:54PM
Hi Einar!

You don't need a fix for this.
This is normal behavior on html-pages.
Put a space before each single <br> then it will work.

Cheers, Ingo
Back to Top
einar View Drop Down
Beginner
Beginner
Avatar

Joined: 18 Mar 10
Location: Norway
Status: Offline
Points: 11
Post Options Post Options   Thanks (0) Thanks(0)   Quote einar Quote  Post ReplyReply Direct Link To This Post Posted: 12 Jul 11 at 7:28AM
I tried a space as in Chr(32)  in front of <br>, but got no extra linebreak using  <br> <br>. I checked ordinary HTML and found it to make a break for each <br> using IE. But I found a solution by using &nbsp; in front of each <br>
 
Thanks
Einar
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 11.01
Copyright ©2001-2014 Web Wiz Ltd.

Copyright © 2017 Debenu. Debenu Quick PDF Library is a PDF SDK. All rights reserved. AboutContactBlogSupportOnline Store