We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Text opacity in pdf

Hi,


I am using com.aspose.pdf classes.

I am would like to insert some opacity to the text that I wish to insert in PDF.

How do I set opacity to text( I am using TextFragment ) ?

I found some links to use Color.fromArgb() but the com.aspose.pdf.Color.fromArgb() class takes 3 input arguments (RGB). Where do I set the Alpha factor ?


Hi Saurabh,


Thanks for your inquiry. Please check following documentation link for adding transparent text in PDF document. It will help you to accomplish the task.


Please feel free to contact us for any further assistance.

Best Regards,