Add Grid using Visual Brush

Contents
[ ]

Add Grid

Aspose.Page for Java offers XpsVisualBrush Class, with which you can add a grid on XPS document. You need to specify XpsPathGeometry and add XpsCanvas to the object of XpsDocument class. Following code snippet shows complete functionality to add a grid on an XPS document: