Contents Summary |
Add Text
Aspose.XPS for Java offers XpsGlyphs Class, with which you can add text on XPS document. You need to specify any brush offered by the API, below example uses XpsSolidColorBrush and saves the object of XpsDocument class. Following code snippet shows complete functionality to add text on an XPS document:
Add Text Using Encoding String
Aspose.XPS for Java offers XpsGlyphs Class, with which you can add text using Encoding String on an XPS document. You need to specify a brush and BidiLevel property of XpsGlyphs class. Following code snippet shows complete functionality to add text using encoding string:
Labels