Print Page | Close Window

How do I find out teh current text alignment

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=1879
Printed Date: 22 Nov 24 at 7:46PM
Software Version: Web Wiz Forums 11.01 - http://www.webwizforums.com


Topic: How do I find out teh current text alignment
Posted By: rweetch
Subject: How do I find out teh current text alignment
Date Posted: 08 Jul 11 at 2:48PM
There is a SetTextAlign method but no GetTextAlign - or am I missing the obvious?
 
Thanks



Replies:
Posted By: Rowan
Date Posted: 10 Jul 11 at 9:28AM
Once text has been added to the PDF there is no concept for alignment. There is just text objects in a PDF at specific co-ordinates of the page. These text objects have no awareness about the other types of objects around them, even other text objects, and so alignment is impossible.

The SetTextAlign function is only used when drawing text, to make life easier in doing your page layout.


Posted By: rweetch
Date Posted: 12 Jul 11 at 12:56PM
thanks



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