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 > General Discussion
  New Posts New Posts RSS Feed - Rotate Text at any angle
  FAQ FAQ  Forum Search   Register Register  Login Login

Rotate Text at any angle

 Post Reply Post Reply
Author
Message
amitsri View Drop Down
Beginner
Beginner
Avatar

Joined: 12 Sep 11
Location: INDIA
Status: Offline
Points: 6
Post Options Post Options   Thanks (0) Thanks(0)   Quote amitsri Quote  Post ReplyReply Direct Link To This Post Topic: Rotate Text at any angle
    Posted: 05 Jun 12 at 7:08AM
Hi all,

I need to rotate text at any given angle at any position and want to keep the rotated text within page area. Currently, when i draw my text at rotation of 315 angle and keep the text at the bottom let corner text got clipped. Please suggest me possible solution or function which will give me transform coordinates for rotated text, so i can adjust the text position to keep the text within page area.

Thanks,
Back to Top
Ingo View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 29 Oct 05
Status: Offline
Points: 3524
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ingo Quote  Post ReplyReply Direct Link To This Post Posted: 05 Jun 12 at 4:46PM
Hi!

You'll always have to calculate regarding character-count, font-heights, and so on.
Additionally you should have a look on
SetOrigin and SetDimension.
There's no ready made algorithm for you.

Cheers, Ingo

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