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 Java...Page-for-Java 2 // The path to the documents directory....91, 248), 1f)); 15 16 XpsPath path = doc. addPath (doc. createPathGeometry...