Print Page | Close Window

characters per line

Printed From: Debenu Quick PDF Library - PDF SDK Community Forum
Category: For Users of the Library
Forum Name: I need help - I can help
Forum Description: Problems and solutions while programming with the Debenu Quick PDF Library and Debenu PDF Viewer SDK
URL: http://www.quickpdf.org/forum/forum_posts.asp?TID=763
Printed Date: 11 Jan 26 at 7:06PM
Software Version: Web Wiz Forums 11.01 - http://www.webwizforums.com


Topic: characters per line
Posted By: shawno66
Subject: characters per line
Date 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?



Replies:
Posted By: marian_pascalau
Date 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


Posted By: shawno66
Date 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


Posted By: shawno66
Date Posted: 24 Jul 07 at 11:54AM
I figured it out, thanks.
I had the length of my asciiz string set to 80



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