the documentation for WebColor (though *not* RgbColor or CmykColor) states that myWebColor.R can be set, but when i try to do so, i get:
"Property or indexer 'ceTe.DynamicPDF.RgbColor.R' cannot be assigned to -- it is read only"
is there a way to reset a color value in any color space?
also, are there differences in printing PDF's using the different color spaces?
does it matter to my PDFX/1a if the color model is RGB?
do color spaces correspond to internal PDF color spaces?
thanks,
setting color values
Re: setting color values
Support · Feb 13, 2007Hello,
Thank you for informing this, and we will forward this over to developers to look into it further. We will post a reply as soon as we here back from them.
Printing the PDF documents on different printers will differ on how each printer interprets the color space used in the PDF document. If the PDF has CMYK color space used and if the printer only supports RGB then it will interpret the CMYK color to the nearest RGB color but if the printer supports CMYK color space then it will display the exact color as in the PDF document.
In order for the PDF document to be PDFX/1a complaint, there can be no use of RGB colors.
The colors will appear on the monitor or any output device exactly same as the input color space as long as the output device as support for the color space.
Please let us know if you have any further questions.
Thanks,
ceTe Software Support Team
Re: setting color values
Forum member · Feb 19, 2007further, the CmykColor members C,M,Y,K are not shown in the documentation to be gettable *or* settable.
i'm trying to do something like:
CmykColor myCmykColor = new CmykColor(0,0,0,0)
if (foo)
{
myCmykColor.C = 100;
}
else
{
myCmykColor.M = 100;
}
any suggestions?
thanks,
Re: setting color values
Forum member · Feb 19, 2007i see that i can do something like:
CmykColor myCmykColor = new CmykColor(0,0,0,0);
if (foo)
{
myCmykColor = new CmykColor(1,0,0,0);
}
else
{
myCmykColor = new CmykColor(0,1,0,0)
}