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!
SetFormFieldBackgroundColor RGB |
Post Reply |
Author | |
AndrewC
Moderator Group Joined: 08 Dec 10 Location: Geelong, Aust Status: Offline Points: 841 |
Post Options
Thanks(0)
Posted: 11 Apr 11 at 2:45PM |
From the QPL Manual - "SetFormFieldBackgroundColor() Sets the background 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." So you would need to call SetFormFieldBackgroundColor(index, 255/255, 102/255, 102/255) to get it to set the color correctly. Andrew. |
|
Ingo
Moderator Group Joined: 29 Oct 05 Status: Offline Points: 3524 |
Post Options
Thanks(0)
|
Hi Jinux!
So you're working on an existing pdf-form and it's created with the color model "CMYK" only? For real bugs please use the official support pages. Cheers, Ingo |
|
jinux
Beginner Joined: 11 Apr 11 Status: Offline Points: 11 |
Post Options
Thanks(0)
|
If I set SetFormFieldBackgroundColor(index, 255, 0, 0) it works but if I modify to SetFormFieldBackgroundColor(index, 255, 102, 102) the color is not set.
Now I use SetFormFieldBackgroundColorCMYK and it works but the RGB function should be corrected. Regards
jinux |
|
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