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!
SetTextScaling + Align Right problem |
Post Reply |
Author | ||||||
Compertis
Beginner Joined: 28 Feb 08 Location: Italy Status: Offline Points: 2 |
Post Options
Thanks(0)
Posted: 28 Feb 08 at 6:10AM |
|||||
I found a problem with the text scaling
I'm drawing Right-Aligned fields on a pre-printed module PDF lib version = 4.41 (I think I don't need to update it because I didn't find any fix I really need, and because I will need to update it in every place I use the software) Measurement Units = mm Origin = top left Language = VB Since the scaling with Left-Align works right Draw Align Left, scaling 100%
Draw Align Left, scaling 50%
the problems come with the Right alignment Draw Align Right, scaling 100%
Draw Align Right, scaling 50% I got
but I expected
I'm trying to fix it by moving the text right of the difference between the text width = 100 and the text width = myTextScaling
I need obtain the scaled text width by hand because GetTextWidth() returns always the width at 100% The problem is that the offset I calculate is never accurate and the text is printed always at the wrong position Thank you for any help, Daniele |
||||||
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |
Copyright © 2017 Debenu. Debenu Quick PDF Library is a PDF SDK. All rights reserved. About — Contact — Blog — Support — Online Store