Planet PDF Forum Archive

Planet PDF ForumWowsers! This is page is old, head to the LIVE Planet PDF Forum. It features more than 10 conferences, covering everything from beginner to in-depth developer and pre-press discussions. If you wish to continue... one & two archive covers 1999-2011 (160,000 pages).


New Forum | Previous | Next | (P-PDF) Beginners


Topic: Newbie Help
Conf: (P-PDF) Beginners, Msg: 93166
From: GeoDesigns
Date: 7/30/2003 12:11 AM

Hello People..

I have a question maybe someone can help me resolve..

I am just a dumb VB programmer who doesn't do much in the ways of color scheming and graphics. I have been given the task of taking entries in a database and sending them to a PDF form as a reporting style option, if data is present fill the field if not make it yellow like a highlighter marker. Now I have automated the process and everything is working nicely filling in the data. The only thing I have a question on is...

When trying to setBackColor on a Form Field Object, it prompts me for RGB colorspace values in the form of Floating point singles.
All values are floating point numbers 'between 0 and 1. In the example below, we are using RGB color space. So the last 'parameter is set to "0" field.SetSetBackgroundColor "RGB", 0.7, 0.5, 0.3, 0
Does anyone have a color chart or conversion method of changing the VB color pallete which uses values for example (RGB(255,0,0) or OLE_COLOR or HEX reference) to this representation?
The adobe Forms Automation sample has just confused me by using values 0.7, 0.75, 0.5 and so on, and if any one has an ENUM of the color constants that would really be helpful.

Forgive me if i sound stupid on this.
I appreciate any help I can get.
Geo

PDF In-Depth Free Product Trials Ubiquitous PDF

Debenu Aerialist

The ultimate plug-in for Adobe Acrobat. Advanced splitting, merging, stamping, bookmarking, and link...

Download free demo

Debenu PDF Tools Pro

It's simple to use and will let you preview and edit PDF files, it's a Windows application that makes...

Download free demo

Back to the past, 15 years ago! Open Publish 2002

Looking back to 2002, it's amazing how much of the prediction became a reality. Take a read and see what you think!

September 14, 2017
Platinum Sponsor





Search Planet PDF
more searching options...
Planet PDF Newsletter
Most Popular Articles
Featured Product

Debenu PDF Aerialist

The ultimate plug-in for Adobe Acrobat. Advanced splitting, merging, stamping, bookmarking, and link control. Take Acrobat to the next level.

Features

Adding a PDF Stamp Comment

OK, so you want to stamp your document. Maybe you need to give reviewers some advice about the document's status or sensitivity. This tip from author Ted Padova demonstrates how to add stamps with the Stamp Tool along with related comments.