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 - Wrapping text
  FAQ FAQ  Forum Search   Register Register  Login Login

Wrapping text

 Post Reply Post Reply
Author
Message
bpeikes View Drop Down
Beginner
Beginner


Joined: 23 Apr 18
Status: Offline
Points: 11
Post Options Post Options   Thanks (0) Thanks(0)   Quote bpeikes Quote  Post ReplyReply Direct Link To This Post Topic: Wrapping text
    Posted: 23 Apr 18 at 5:58PM
I'm fairly new to PDF generation. We have a report that we are building, and I'm trying to figure out if there is a way to have Debenu PDF Library wrap text while breaking on spaces.

For example, I want to write out a list of comma delimited names on the page which might be wider than the page. Right now, I have a ton of logic to estimate how much to put on a line, and then I have to do things like keep track of the font height, and remember to insert new pages.

Does this all have to be done by hand?
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: 23 Apr 18 at 8:39PM
Hi,

there are functions like DrawMultilineText, DrawWrappedText and similar ones...
Here's the section with all relevant functions regarding text output:
http://www.debenu.com/docs/pdf_library_reference/Text.php

Here are links from other users having problems with text output.
Reading the samples or code snippets they've posted will give you an idea how to solve your task:

http://www.quickpdf.org/forum/forum_posts.asp?TID=547&KW=wrap+text&PID=2422&title=drawwrappedtext-longer-than-one-page#2422

http://www.quickpdf.org/forum/forum_posts.asp?TID=2426&KW=wrap+text&PID=10203&title=does-getwrapped-text-work-with-unicode-text#10203

http://www.quickpdf.org/forum/forum_posts.asp?TID=3475&KW=wrap+text&PID=13815&title=wrapped-text#13815


Cheers and welcome here,
Ingo

Cheers,
Ingo

Back to Top
is_it_tennant View Drop Down
Beginner
Beginner
Avatar

Joined: 22 May 18
Location: Detroit, MI
Status: Offline
Points: 1
Post Options Post Options   Thanks (0) Thanks(0)   Quote is_it_tennant Quote  Post ReplyReply Direct Link To This Post Posted: 22 May 18 at 3:52PM
It's a quite easy thing to do while using QuickPDF, but I feel you, its interface could be puzzling for some people, especially for newbies. The very feature you need according to the description you provided is DrawWrappedText, it can easily be found by the link Ingo posted. If you aren't able to do that nevertheless, you may try to add this through some simpler application, like this one as an example of edition of real estate forms https://boston-real-estate-board-form.pdffiller.com/ and other things. But I think that very function will be enough
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