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!
default FormFieldBackgroundColor |
Post Reply |
Author | |
jinux
Beginner Joined: 11 Apr 11 Status: Offline Points: 11 |
Post Options
Thanks(0)
Posted: 12 Apr 11 at 2:49PM |
Hi,
In Acrobat I see that my formfield has default background color. How can I set this value with quickpdf lib? Can I use FormFieldBackgroundColor with special value parameters? Thanks Jinux
|
|
Ingo
Moderator Group Joined: 29 Oct 05 Status: Offline Points: 3524 |
Post Options
Thanks(0)
|
please read in the online-reference
and in the samples and in the knowledge base of the official support pages. Cheers, Ingo |
|
jinux
Beginner Joined: 11 Apr 11 Status: Offline Points: 11 |
Post Options
Thanks(0)
|
What do you mean with your hints? Do you think that this is in one of the samples, knowledge base or support pages defined? I dont think therefore I come to the forum.
Cheers Jinux
|
|
jinux
Beginner Joined: 11 Apr 11 Status: Offline Points: 11 |
Post Options
Thanks(0)
|
here for example the description of SeBackgroundColor:
DescriptionSets the border color of the specified form field. The values of the color parameters range from 0 to 1, with 0 indicating 0% and 1 indicating 100% of the color. If someone write 0% of a color we think that if we define 0 the color is not defined and the background is visible means transparent. If I set the color to 0, 0, 0 the background is white and this is not what I want. Regards Jinux |
|
Ingo
Moderator Group Joined: 29 Oct 05 Status: Offline Points: 3524 |
Post Options
Thanks(0)
|
Hi Jinux!
What i mean is... first searching if anybody had this question before. The other point is the online reference... what isn't there inside we won't know, too ;-) With the colors it's similar to the RGB-values not with 0,0,0 up to 255,255,255 but with 0,0,0 up to 1,1,1. 0,0,0 is white and 1,1,1 is black (or the other way round... try it). 1,0,0 should be red and 0,1,0 should be green and ... Cheers, Ingo |
|
jinux
Beginner Joined: 11 Apr 11 Status: Offline Points: 11 |
Post Options
Thanks(0)
|
Hi Ingo,
thanks but now I come back to my question: How is it possible to set the color to undefined? Regards Jinux
|
|
Shotgun Tom
Senior Member Joined: 14 Aug 09 Location: Phoenix, AZ Status: Offline Points: 53 |
Post Options
Thanks(0)
|
Jinux:
I think you want to turn the highlighting of form fields off???
Highlighting form fields property is:
SetFormFieldHighlightMode(Index As Long, NewMode As Long) As Long Setting the NewMode to zero sets form highlighting to none.
If you want to see the form highlighting, etc but don't want a perceived backcolor, simply set the backcolor to the same color as the background of the PDF page, usually white.
Tom |
|
jinux
Beginner Joined: 11 Apr 11 Status: Offline Points: 11 |
Post Options
Thanks(0)
|
Tom:
: but don't want a perceived backcolor, simply set the backcolor to the ... This does not work because the formfields lay on different colored areas. I need the option to set the default color because this is transparent. Regards, Jinux |
|
jinux
Beginner Joined: 11 Apr 11 Status: Offline Points: 11 |
Post Options
Thanks(0)
|
SetFormFieldHighlightMode:
I set all Formfields to Mode 0 but nothing happened. The documentation does not explain what "highlight mode" means. I think it has nothing to do with background color. Regards, Jinux
|
|
Shotgun Tom
Senior Member Joined: 14 Aug 09 Location: Phoenix, AZ Status: Offline Points: 53 |
Post Options
Thanks(0)
|
Jinux:
Regarding Highlighting:
In Adobe Reader, Acrobat and many other PDF Readers you have the option of highlighting form fields to make it apparent to the user where fillable fields are located in a document. Highlighting changes the background color of the field... much like if you were to highlight selected words in a .doc or .rtf file.
Since you've now explained you're looking for transparent background, highlighting is not your answer.
Tom
|
|
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