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.
At a Glance
An overview of Aspose.Page for .NET API.
- PS, EPS to PDF, EMF, and WMF
- XPS Format to XPS and PDF
- PostScript files to Images
- XPS files to Images
- Solid Color Brush
- Image Brush
- Visual Brush
- ICC Profile
Aspose.Page for .NET can be integrated with any kind of ASP.NET Web Application or a Windows Application.
- Windows Application
- ASP.NET Web Application
Supported File Formats
Aspose.Page for .NET supported file formats are listed below.
- Fixed Layout: XPS
- PostScript: EPS, PS
- Fixed Layout: PDF
- Images: PNG, JPEG, TIFF, BMP
- EMF, GIF, WMF
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.