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 - characters per line
  FAQ FAQ  Forum Search   Register Register  Login Login

characters per line

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

Joined: 23 Jul 07
Location: United States
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote shawno66 Quote  Post ReplyReply Direct Link To This Post Topic: characters per line
    Posted: 23 Jul 07 at 6:02PM

the quickPDF library is truncating each line of text to 80 characters wide.

I've tried to resize the font and print in landscape mode, but it still cuts off at 80 characters. My line of text is about 100 characters long.
 
How can I set the number of characters per line?


Edited by shawno66 - 23 Jul 07 at 6:04PM
Back to Top
marian_pascalau View Drop Down
Debenu Quick PDF Library Expert
Debenu Quick PDF Library Expert


Joined: 28 Mar 06
Location: Germany
Status: Offline
Points: 278
Post Options Post Options   Thanks (0) Thanks(0)   Quote marian_pascalau Quote  Post ReplyReply Direct Link To This Post Posted: 24 Jul 07 at 7:38AM
Hi there.
I have no idea about what are you talking. Can you be more precise in describing your problem. As example a code snippet will make it very clear for me.
 
Best regards, Marian
Back to Top
shawno66 View Drop Down
Beginner
Beginner
Avatar

Joined: 23 Jul 07
Location: United States
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote shawno66 Quote  Post ReplyReply Direct Link To This Post Posted: 24 Jul 07 at 10:22AM

Let me try to explain better:

 
I have a string that is 100 characters long:
myString="1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890"
 
I'm drawing each line to the PDF using DrawText:
 
DrawText(10,10,myString)    
 
The string is getting truncated to 80 characters, so in the PDF file it shows as:
12345678901234567890123456789012345678901234567890123456789012345678901234567890
 
which is 20 characters shorter than the original string.
 
Why is my string getting truncated to 80 characters?
I need to be able to print a line that is more than 80 characters wide.
 
thanks


Edited by shawno66 - 24 Jul 07 at 10:30AM
Back to Top
shawno66 View Drop Down
Beginner
Beginner
Avatar

Joined: 23 Jul 07
Location: United States
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote shawno66 Quote  Post ReplyReply Direct Link To This Post Posted: 24 Jul 07 at 11:54AM
I figured it out, thanks.
I had the length of my asciiz string set to 80
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