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!
![]() |
drawtext and align pdflibrary Lite |
Post Reply
|
| Author | |
csharp
Beginner
Joined: 21 Oct 13 Status: Offline Points: 6 |
Post Options
Thanks(0)
Quote Reply
Topic: drawtext and align pdflibrary LitePosted: 22 Oct 13 at 3:56PM |
|
I am using quickpdflibrary lite and C# on windows 7 64 bits
I do not understand how to combine drawtext(xpos,ypos,text) and SetTextAlign(1) because I am not able to center tekst horizontally using SetTextAlign(1) and try several xpos values. Any sugestions?
|
|
![]() |
|
Ingo
Moderator Group
Joined: 29 Oct 05 Status: Offline Points: 3530 |
Post Options
Thanks(0)
Quote Reply
Posted: 23 Oct 13 at 7:36AM |
|
Hi CSharp,
you should have a look in the online reference. There's a sample: Cheers and welcome here, Ingo |
|
|
Cheers,
Ingo |
|
![]() |
|
csharp
Beginner
Joined: 21 Oct 13 Status: Offline Points: 6 |
Post Options
Thanks(0)
Quote Reply
Posted: 23 Oct 13 at 11:55AM |
|
Hi Ingo thanks for the tip.
But my problem was to give a posx value in drawtext when settextalign(1), that seems contradictionary. the posx value becomes (Pagewidth-textlength)/2 and that should be calculated by the library. To give the midpoint as posx value never occurrded in my mind. |
|
![]() |
|
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