Working with Visual Brush | Java
Contents
[
Hide
]
Add Grid using Visual Brush
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: