<dependency>
    <groupId>com.aspose</groupId>
    <artifactId>aspose-page</artifactId>
    <version>20.8</version>
</dependency>
copied!  
compile(group: 'com.aspose', name: 'aspose-page', version: '20.8')
copied!  
<dependency org="com.aspose" name="aspose-page" rev="20.8">
    <artifact name="aspose-page" ext="jar"/>
</dependency>
copied!  
libraryDependencies += "com.aspose" % "aspose-page" % "20.8"
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
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.8-javadoc.jarjavadoc791.14 KB
aspose-page-20.8.jar11.13 MB
aspose-page-20.8.pom393 bytes