Alpha in color

Skip Navigation LinksHome  /  Support  /  Forums  /  DynamicPDF CoreSuite for .NET (v8)  /  Alpha in color

DynamicPDF CoreSuite for .NET (v8) Forum

 Feb 05 2016 8:26 AM
Hi, is it possible to define the alpha value in a RgbColor in order to make it more or less transparant?
 Feb 05 2016 4:50 PM
Posted by a ceTe Software moderator
Hello,

It is not possible to define alpha value in RgbColor class to make the color transparent. If you are looking to set transparency to the contents being added to the PDF then you can use TransperencyGroup class to do this. You will need to create TransparencyGroup class object by setting desired alpha value. Add the page elements to the TransparencyGroup object. Then add this object to page of PDF. You can refer to the documentation on TransparencyGroup here.

Thanks,
ceTe Software Support Team.

All times are US Eastern Standard time. The time now is 2:20 AM.