Print Page | Close Window

DrawTextBox Ignores Tabs

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=527
Printed Date: 19 May 24 at 9:27AM
Software Version: Web Wiz Forums 11.01 - http://www.webwizforums.com


Topic: DrawTextBox Ignores Tabs
Posted By: PhilG
Subject: DrawTextBox Ignores Tabs
Date Posted: 03 Oct 06 at 11:57AM

I'm trying to create a PDF from a text file; however, I'm having trouble with any and all tabs in the text document being ignored.  Even if I use a bunch of spaces instead of a tab at the beginning of a line, they are ignored too.

In VB, I'm using a TextStream object to read the contents of the text file.  I'm then feeding that to the DrawTextBox method in QuickPDF 4.41   The text is all faithfully rendered onto the page, except any tabs.  I've tried various fonts, but to no avail.

QP.DrawTextBox(54, 54, 504, 684, ts.ReadAll, 1)

Any idea how I can get DrawTextBox to include tabs that are in the document?  Thanks.



-------------
PhilG



Replies:
Posted By: Ingo
Date Posted: 03 Oct 06 at 2:57PM
If i read the reference i don't see that DrawTextBox can do this. I think with DrawHTMLTextBox you can insert more layout options...
Best regards,
Ingo


Posted By: PhilG
Date Posted: 03 Oct 06 at 3:03PM

Thanks.



-------------
PhilG



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