Add Image inside XPS Documents

Contents
[ ]

Add Image

Aspose.Page for Java offers XpsPath Class, with which you can add image on XPS document. You need to create Matrix and an ImageBrush and save XpsDocument. Following code snippet shows complete functionality to add image on an XPS document:

Add Tiled Image

Aspose.Page for Java offers XpsPath Class, with which you can add image on XPS document. You need to create Matrix and an ImageBrush, then setTileMode(XpsTileMode.Tile) mode and save XpsDocument. Following code snippet shows complete functionality to add tiled image on an XPS document: