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 - DrawRotatedText
  FAQ FAQ  Forum Search   Register Register  Login Login

DrawRotatedText

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

Joined: 18 Mar 10
Location: Norway
Status: Offline
Points: 11
Post Options Post Options   Thanks (0) Thanks(0)   Quote einar Quote  Post ReplyReply Direct Link To This Post Topic: DrawRotatedText
    Posted: 26 Mar 10 at 10:21PM
I just added a big, transparent text on a generated letter, which worked fine.
The I wanted to do it again lower down on the same page. It did not show!
After much trying an failing, I figured out I had to use ComineLayers() and repeat settings. Where in the documentation is this described? I wish the documentation had more description, links and examples.
 
  THIS.oPDF.SelectPage(i)
  THIS.oPDF.SetTransparency(80)
  THIS.oPDF.SetTextSize(72)
  THIS.oPDF.DrawRotatedText(100,400,45,'Makulert')
  THIS.oPDF.CombineLayers()
  THIS.oPDF.SetTransparency(80)
  THIS.oPDF.SetTextSize(72)
  THIS.oPDF.DrawRotatedText(100,100,45,'Makulert')
Back to Top
Jimeni View Drop Down
Beginner
Beginner
Avatar

Joined: 09 Apr 10
Status: Offline
Points: 10
Post Options Post Options   Thanks (0) Thanks(0)   Quote Jimeni Quote  Post ReplyReply Direct Link To This Post Posted: 13 Apr 10 at 6:10AM
Thanks for posting this einar at least now someone can find the correct code.

I think some of the docs and example code leave a bit to be desired, the php code example simply doesn't work. Oh well!
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: 13 Apr 10 at 6:26AM
Hi Jimeni!

Perhaps you should tell it a bit more clearer...
The PHP-code doesn't work in your system-environment ;-)
The QuickPDF-sdk covers a very wide range of pdf-functionality.
In the beginning of 2009 Debenu bought the rights from the former owner Sedtech, who didn't maintain the library for about three/four years.
All will come... from time to time a bit more... The regularely QuickPDF-newsletter - each one with a main developing topic - is a good thing.
So don't be too impatiently.
And if you yourself developed a working php-sample in the meantime all users will be happy to see it here in the sample-section ;-)

Cheers and a nice day to all readers here,
Ingo

Back to Top
Jimeni View Drop Down
Beginner
Beginner
Avatar

Joined: 09 Apr 10
Status: Offline
Points: 10
Post Options Post Options   Thanks (0) Thanks(0)   Quote Jimeni Quote  Post ReplyReply Direct Link To This Post Posted: 16 Apr 10 at 6:34AM
Ingo,
Have you tested the PHP code? It appears to use part VB syntax.

I posted last week a working sample in the code samples section of the forum.

Jim
Back to Top
Jimeni View Drop Down
Beginner
Beginner
Avatar

Joined: 09 Apr 10
Status: Offline
Points: 10
Post Options Post Options   Thanks (0) Thanks(0)   Quote Jimeni Quote  Post ReplyReply Direct Link To This Post Posted: 16 Apr 10 at 6:37AM
The included PHP sample:

// The DrawText function lets you draw text onto a page.
$qp->QP.DrawText(100, 100, "Hello PHP! This text has been drawn using the DrawText function.")
$qp->QP.DrawHTMLText(100, 125, 400, "<b>Quick PDF Library Version:</b> " + $qp->LibraryVersion)
$qp->QP.DrawHTMLText(100, 140, 400, "<b>License Information:</b> " + $qp->LicenseInfo)

I believe the inserted 'QP.' should not be included in the code. Unless I am mistaken its incorrect syntax for PHP.
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: 16 Apr 10 at 6:47AM
Hi Jim!

This here is a user-user-forum.
I don't use/need php-code and so i don't try it ;-)
If here's a user with experiences in php and QuickPDF
he'll help you... I'm pretty sure.
If you don't want to wait you should post such things
to the official support pages at:
http://www.quickpdflibrary.com/support/index.php

Cheers, Ingo
Back to Top
Rowan View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 10 Jan 09
Status: Offline
Points: 398
Post Options Post Options   Thanks (0) Thanks(0)   Quote Rowan Quote  Post ReplyReply Direct Link To This Post Posted: 16 Apr 10 at 8:16AM
Oh, yes, that's a mistake - the 'QP.' definitely shouldn't be there (it won't work with it). I will update the sample to fix that.
Back to Top
Jimeni View Drop Down
Beginner
Beginner
Avatar

Joined: 09 Apr 10
Status: Offline
Points: 10
Post Options Post Options   Thanks (0) Thanks(0)   Quote Jimeni Quote  Post ReplyReply Direct Link To This Post Posted: 20 Apr 10 at 6:12AM
Thanks Rowan & 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