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!
![]() |
DrawRotatedText |
Post Reply
|
| Author | |
einar
Beginner
Joined: 18 Mar 10 Location: Norway Status: Offline Points: 11 |
Post Options
Thanks(0)
Quote Reply
Topic: DrawRotatedTextPosted: 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') |
|
![]() |
|
Jimeni
Beginner
Joined: 09 Apr 10 Status: Offline Points: 10 |
Post Options
Thanks(0)
Quote Reply
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! |
|
![]() |
|
Ingo
Moderator Group
Joined: 29 Oct 05 Status: Offline Points: 3530 |
Post Options
Thanks(0)
Quote Reply
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 |
|
![]() |
|
Jimeni
Beginner
Joined: 09 Apr 10 Status: Offline Points: 10 |
Post Options
Thanks(0)
Quote Reply
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 |
|
![]() |
|
Jimeni
Beginner
Joined: 09 Apr 10 Status: Offline Points: 10 |
Post Options
Thanks(0)
Quote Reply
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. |
|
![]() |
|
Ingo
Moderator Group
Joined: 29 Oct 05 Status: Offline Points: 3530 |
Post Options
Thanks(0)
Quote Reply
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 |
|
![]() |
|
Rowan
Moderator Group
Joined: 10 Jan 09 Status: Offline Points: 398 |
Post Options
Thanks(0)
Quote Reply
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.
|
|
![]() |
|
Jimeni
Beginner
Joined: 09 Apr 10 Status: Offline Points: 10 |
Post Options
Thanks(0)
Quote Reply
Posted: 20 Apr 10 at 6:12AM |
|
Thanks Rowan & Ingo.
|
|
![]() |
|
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