<dependency>
<groupId>com.aspose</groupId>
<artifactId>aspose-page</artifactId>
<version>19.6</version>
</dependency>
compile(group: 'com.aspose', name: 'aspose-page', version: '19.6')
<dependency org="com.aspose" name="aspose-page" rev="19.6">
<artifact name="aspose-page" ext="jar"/>
</dependency>
libraryDependencies += "com.aspose" % "aspose-page" % "19.6"
Java APIs for PS, EPS & XPS File Formats
Product Page | Docs | Demos | API Reference | Examples | Blog | Search | Free Support | Temporary License
Aspose.Page for Java offers to creating & manipulate XPS documents. It also provides functionality to convert XPS, PS & EPS documents to image formats & PDF.
Manipulate XPS Documents via Java
- 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.
Convert PostScript Files via Java
- Supports PostScript language levels 1-3 with an exception of font types: Type2 (CFF), Type14 (Chameleon), Types 9, 10, 11, 32 (CID-Keyed)
- Save PS & EPS as PDF & images.
Supported Environments
- 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
Get Started
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.
Add Pages to Existing XPS Document
// 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");
Product Page | Docs | Demos | API Reference | Examples | Blog | Search | Free Support | Temporary License
Version | Release Date |
---|---|
22.6 | June 9, 2022 |
22.5 | June 9, 2022 |
22.4 | April 20, 2022 |
22.2 | February 16, 2022 |
21.12 | December 22, 2021 |
21.11 | November 24, 2021 |
21.10 | October 22, 2021 |
21.8 | August 23, 2021 |
21.7 | July 21, 2021 |
21.6 | June 21, 2021 |
21.4 | April 16, 2021 |
21.2 | February 18, 2021 |
21.1 | January 20, 2021 |
20.12 | December 18, 2020 |
20.11 | November 12, 2020 |
20.10 | October 14, 2020 |
20.9 | September 11, 2020 |
20.8 | August 7, 2020 |
20.7 | July 21, 2020 |
20.6 | June 22, 2020 |
20.5 | May 21, 2020 |
20.4 | April 13, 2020 |
20.3 | March 23, 2020 |
20.1 | January 19, 2020 |
19.12 | December 18, 2019 |
19.11 | November 13, 2019 |
19.10 | October 15, 2019 |
19.9 | September 12, 2019 |
19.8 | August 16, 2019 |
19.7 | July 29, 2019 |
19.6 | June 28, 2019 |
File | Classifier | Size |
---|---|---|
aspose-page-19.6-javadoc.jar | javadoc | 782.99 KB |
aspose-page-19.6.jar | 11.07 MB | |
aspose-page-19.6.pom | 393 bytes |