How to work witH transparency of an XPS file is a question answered by Aspose.Page API solution. See How to use tHe functionality in PytHon...create_path_geometry ( "M300,120 h600 V420 h-600" )). fill = doc. create_solid_color_brush...create_path_geometry ( "M20,20 h200 v200 h-200 z" )) 12 # Set a blue solid...