Aspose.Page  for .NET

.NET APIs for PS, EPS and XPS File Formats

Load, manipulate and render XPS, PS and EPS documents to PDF and raster image formats without any software dependencies.

  Download Free Trial

Aspose.Page for .NET is a reliable and standalone XPS and PostScript file manipulation and conversion API. It allows to create, edit and convert XPS files without requiring any additional tools. API allows operations such as manipulation of document pages & elements, create vector graphics, group shapes and specifying colors in different color spaces. Furthermore, It allows the developers to convert PS and EPS files to PDF documents, raster images such as BMP, EMF, GIF, JPEG, PNG, TIFF and more.

Advanced PS, EPS & XPS API Features

Create and modify XPS files

Add or delete pages from XPS documents

Work with elements like canvases, paths, and glyphs

Create and manipulate vector graphics shapes and text strings

Select from a variety of brushes along with different color spaces for editing

Use multiple document elements within the same XPS Package for cross-package operations

Add and manipulate print tickets

Save XPS files to PDF and raster images

Save EPS documents to raster images and PDF

Read or Create XPS Files

Aspose.Page for .NET not only supports loading XPS files for manipulation but it also provides the capability to create XPS files from scratch. .NET developers can use the library to automate scenarios that may help them on their way.

Create document pages from scratch - C#

// create XPS document

XpsDocument xDocs = new XpsDocument();

// add glyph to the document

var glyphs = xDocs.AddGlyphs("Arial", 12, FontStyle.Regular, 300f, 450f, "Hello World!");

glyphs.Fill = xDocs.CreateSolidColorBrush(Color.Black);

// save result

xDocs.Save(dir + "output.xps");

Convert PostScript Files to PDF & Images

Aspose.Page for .NET provides easy to use mechanism for the conversion of PS & EPS file to PDF & raster image formats. The conversion process can be configured to control the quality of images as well as to handle errors if developers are working with batches.


Support and Learning Resources


Aspose.Page offers individual APIs for popular development environments as listed below: