Aspose.Page for Java offers to creating & manipulate XPS documents. It also provides functionality to convert XPS, PS & EPS documents to image formats & PDF.
Directory | Description |
---|---|
Examples | A collection of Java examples that help you learn the product features. |
- Create and edit XPS document.
- Add or remove pages of XPS document.
- Save XPS documents as raster images & PDF.
- Work with canvases, paths and glyphs elements.
- Create vector graphics shapes (Path element) using a set of primitives (elliptical arcs, Bezier curve segments and straight line segments).
- Create text strings (Glyphs element).
- Group elements (Canvas element) to manipulate a group as a whole.
- Manipulate the appearance of graphics and text strings.
- Use brushes of different types including solid color brush, image brush, visual brush and more.
- Specify colors in different color spaces including sRGB, scRGB and any space based on ICC profile.
- Work with multiple documents inside an XPS document.
- Preserve print tickets in opened XPS document if any.
- Add default print tickets into new XPS document or an opened one if there’re no tickets in it.
- Manipulate hyperlinks associated with XPS elements.
- Manipulate, save and convert XPS outline items.
- Supports PostScript language levels 1-3 with an exception of font types: Type2 (CFF), Type14 (Chameleon), Types 9, 10, 11.
- Save PS & EPS as PDF & images.
- Microsoft Windows: Windows Desktop & Server (x86, x64)
- macOS: Mac OS X
- Linux: Ubuntu, OpenSUSE, CentOS, and others
- Java Versions:
J2SE 8.0 (1.8)
or above
Aspose hosts all Java APIs at the Aspose Repository. You can easily use Aspose.Page for Java API directly in your Maven projects with simple configurations. For the detailed instructions please visit Installing Aspose.Page for Java from Maven Repository documentation page.
// create new XPS Document
XpsDocument doc = new XpsDocument("output.xps");
// insert an empty page at beginning of pages list
doc.insertPage(1, true);
// save resultant XPS document
doc.save("output.xps");
Home | Product Page | Docs | Demos | API Reference | Examples | Blog | Search | Free Support | Temporary License