Print Page | Close Window

problems GetFormFieldBackgroundColorType

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=2521
Printed Date: 04 Apr 26 at 7:51PM
Software Version: Web Wiz Forums 11.01 - http://www.webwizforums.com


Topic: problems GetFormFieldBackgroundColorType
Posted By: dark_avalon
Subject: problems GetFormFieldBackgroundColorType
Date Posted: 29 Jan 13 at 6:12PM
hi guys!!
my problem is this.
how I can implement this function to see if an image is grayscale? or could get that result?
thanks!!



Replies:
Posted By: Ingo
Date Posted: 30 Jan 13 at 8:37AM
Hi Dark!
 
First you have to select the formfield with
function FindFormFieldByTitle (for example)
and with the returning (longint) id you can use
color := QP.GetFormFieldBachgroundColorType(index);
color (as an integer variable) should contain value 1 for gray.
http://www.quickpdflibrary.com/help/quickpdf/GetFormFieldBackgroundColorType.php - http://www.quickpdflibrary.com/help/quickpdf/GetFormFieldBackgroundColorType.php
 
Cheers and welcome here,
Ingo
 


Posted By: dark_avalon
Date Posted: 30 Jan 13 at 5:03PM
thank you so much.
 
I have a question, how to use the index variable? where takes values​​?
 
 


Posted By: Ingo
Date Posted: 30 Jan 13 at 8:45PM
Hi Dark!

Here you can find code samples how to start with QuickPDF:
http://www.debenu.com/products/development/debenu-pdf-library/help/samples/
There's also the Quick PDF Library Demo distributed with the Quick PDF Library installer package.
With the demo.exe it's very easy to try functions and see the results.
And the best at the end: The Quick PDF Library 8 Developer Guide:
http://www.quickpdflibrary.com/docs/Quick%20PDF%20Library%208%20Developer%20Guide.pdf
At "Tasks" -> "PDF Forms" ... you'll find many samples regarding forms.
This really should help you on your first steps.

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