Print Page | Close Window

How to not hide blank characters in rows

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=485
Printed Date: 18 May 24 at 11:51PM
Software Version: Web Wiz Forums 11.01 - http://www.webwizforums.com


Topic: How to not hide blank characters in rows
Posted By: Siegfried
Subject: How to not hide blank characters in rows
Date Posted: 03 Aug 06 at 11:04AM
Hi everyone,

I want to draw text like this:

p.DrawTextBox(5, 55, 200, 270, " This is Text", 1)

Problem is, that the leading blanks and all repeated blanks are filtered. How could i draw text without filtering blanks?

Many thanks from Germany  

Siegfried



Replies:
Posted By: JanN
Date Posted: 03 Aug 06 at 11:45AM
Hi Siegfried,

you should use the ascii character 160 instead of the normal blank (20).


Posted By: Siegfried
Date Posted: 03 Aug 06 at 3:46PM

Originally posted by JanN JanN wrote:

Hi Siegfried,

you should use the ascii character 160 instead of the normal blank (20).

Hello Jan,

Thank you for your help!.

I've found another solution: just use the function DrawMultilineText and everything is OK!

Siegfried




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