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!

Debenu Quick PDF Library - PDF SDK Community Forum Homepage
Forum Home Forum Home > For Users of the Library > I need help - I can help
  New Posts New Posts RSS Feed - drawtext and align pdflibrary Lite
  FAQ FAQ  Forum Search   Register Register  Login Login

drawtext and align pdflibrary Lite

 Post Reply Post Reply
Author
Message
csharp View Drop Down
Beginner
Beginner


Joined: 21 Oct 13
Status: Offline
Points: 6
Post Options Post Options   Thanks (0) Thanks(0)   Quote csharp Quote  Post ReplyReply Direct Link To This Post Topic: drawtext and align pdflibrary Lite
    Posted: 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?
Back to Top
Ingo View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 29 Oct 05
Status: Offline
Points: 3530
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ingo Quote  Post ReplyReply Direct Link To This Post 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

Back to Top
csharp View Drop Down
Beginner
Beginner


Joined: 21 Oct 13
Status: Offline
Points: 6
Post Options Post Options   Thanks (0) Thanks(0)   Quote csharp Quote  Post ReplyReply Direct Link To This Post 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.
 
 
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 11.01
Copyright ©2001-2014 Web Wiz Ltd.

Copyright © 2017 Debenu. Debenu Quick PDF Library is a PDF SDK. All rights reserved. AboutContactBlogSupportOnline Store