Change the background colour on shapes


Is it possible to go through all Elements in the PDF and change the background colour to transparent on every element (rectangle, shapes,…) where the background colour is white?

I add two files, in the second file I changed the Background colour of some elements to transparent in in the upper part of the document. That is what I would like to do programmatically.

Example (74.8 KB)



Thank you for contacting support.

Would you please elaborate how did you change the background color to transparent so that we may investigate further.


I have done this with the PDF XChange Editor (Demo Version)
In the Editor, I changed the Fill colour from “RGB white” to “None”

Similar to the screenshot:
screen.png (68.8 KB)



We are afraid this might not be possible with Aspose.PDF for .NET API at the moment. However, we have logged a ticket with ID PDFNET-47230 in our issue management system for further investigation and resolution. We will let you know once any update will be available in this regard.