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 .NET...NET 2 // The path to the documents directory....248), 1f)); 14 // Create new path by defining geometery in abbreviation...