<dependency>
    <groupId>com.aspose</groupId>
    <artifactId>aspose-page</artifactId>
    <version>20.12</version>
</dependency>
copied!  
                                                
                                                  compile(group: 'com.aspose', name: 'aspose-page', version: '20.12')
                                                
                                              
copied!  
<dependency org="com.aspose" name="aspose-page" rev="20.12">
    <artifact name="aspose-page" ext="jar"/>
</dependency>
copied!  
libraryDependencies += "com.aspose" % "aspose-page" % "20.12"
copied!  

Java APIs for PS, EPS & XPS File Formats

banner

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.Page Java APIs are hosted 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

VersionRelease Date
24.2February 23, 2024
24.1January 23, 2024
23.12December 29, 2023
23.11December 1, 2023
23.10October 16, 2023
23.9September 21, 2023
23.8August 22, 2023
23.7July 17, 2023
23.6June 30, 2023
23.5May 26, 2023
23.4April 21, 2023
23.3March 23, 2023
23.2March 2, 2023
23.1February 1, 2023
22.12December 30, 2022
22.11November 24, 2022
22.10October 28, 2022
22.9September 19, 2022
22.8August 29, 2022
22.7July 20, 2022
22.6June 9, 2022
22.5June 9, 2022
22.4April 20, 2022
22.2February 16, 2022
21.12December 22, 2021
21.11November 24, 2021
21.10October 22, 2021
21.8August 23, 2021
21.7July 21, 2021
21.6June 21, 2021
21.4April 16, 2021
21.2February 18, 2021
21.1January 20, 2021
20.12December 18, 2020
20.11November 12, 2020
20.10October 14, 2020
20.9September 11, 2020
20.8August 7, 2020
20.7July 21, 2020
20.6June 22, 2020
20.5May 21, 2020
20.4April 13, 2020
20.3March 23, 2020
20.1January 19, 2020
19.12December 18, 2019
19.11November 13, 2019
19.10October 15, 2019
19.9September 12, 2019
19.8August 16, 2019
19.7July 29, 2019
19.6June 28, 2019
FileClassifierSize
aspose-page-20.12-javadoc.jarjavadoc804.23 KB
aspose-page-20.12.jar11.15 MB
aspose-page-20.12.pom394 bytes