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!
Adding text with a font colour almost white |
Post Reply |
Author | |
DerbyGull
Beginner Joined: 01 Feb 19 Location: UK Status: Offline Points: 6 |
Post Options
Thanks(0)
Posted: 12 Feb 19 at 8:30AM |
Hi, I need to add text (e-mail address) to every page of a pdf document with a colour of RGB 254,254,254. What is the best way to do it with the QuickPDF library?
|
|
Ingo
Moderator Group Joined: 29 Oct 05 Status: Offline Points: 3524 |
Post Options
Thanks(0)
|
If searched for you here in the forum... ;-) AndrewC had a good sample for you: http://www.quickpdf.org/forum/add-page-numbers-to-existing-pdf_topic2096.html In the developer guide (starting from chapter 4.16) you'll find samples as well. The function regarding font color you'll find in the online reference here: https://www.debenu.com/docs/pdf_library_reference/FunctionGroups.php The function you'll need is SetTextColor. Here's a sample for you: https://www.debenu.com/kb/set-font-color-of-new-text/ What you have to do in common words is: Check how many pages you have. Create a loop. Set the page orientation. Set the text color. Draw your text. ...That's all ;-) |
|
Cheers,
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