Print Page | Close Window

Adding text with a font colour almost white

Printed From: Debenu Quick PDF Library - PDF SDK Community Forum
Category: For Users of the Library
Forum Name: I need help - I can help
Forum Description: Problems and solutions while programming with the Debenu Quick PDF Library and Debenu PDF Viewer SDK
URL: http://www.quickpdf.org/forum/forum_posts.asp?TID=3676
Printed Date: 28 Apr 24 at 9:40AM
Software Version: Web Wiz Forums 11.01 - http://www.webwizforums.com


Topic: Adding text with a font colour almost white
Posted By: DerbyGull
Subject: Adding text with a font colour almost white
Date 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?



Replies:
Posted By: Ingo
Date Posted: 12 Feb 19 at 10:54AM
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




Print Page | Close Window

Forum Software by Web Wiz Forums® version 11.01 - http://www.webwizforums.com
Copyright ©2001-2014 Web Wiz Ltd. - http://www.webwiz.co.uk