How to add vertical, horizontal or Linear gradient to an XPS file is a question answered by Aspose.Page API solution. Learn the functionality for Python... create_linear_gradient_brush (aspose. pydrawing...XpsLinearGradientBru = doc. create_linear_gradient_brush (aspose. pydrawing...