.NET APIs for PS, EPS, and XPS file formats
Process and convert XPS, PS, and EPS files to PDFs and bitmaps
Aspose.Page for .NET is a robust and self-contained XPS and PostScript file processing and conversion API. It allows you to create, edit and convert XPS files without requiring any additional tools. The API allows operations such as manipulating pages and document elements, creating vector graphics, group shapes, and refining colors in different color spaces. In addition, it allows developers to convert PS and EPS files to PDF documents, raster images such as BMP, EMF, GIF, JPEG, PNG, TIFF, and more.
Provides an overview of Aspose.Page for the .NET API.
Transformation | Brush | |
|
Aspose.Page |
|
Manipulating documents | Color palettes | |
|
|
Aspose.Page for .NET supports
⇑⇓ Input/Output | Output only ⇑ | |
|
Aspose.Page |
|
Special Output Formats ⇑ | Input only ⇓ | |
|
|
Aspose.Page for .NET can be integrated with any ASP.NET Web or Windows application
Framework .NET | |
Aspose.Page
|
⇐ ASP.NET Web Applications ⇐ Windows Applications |
Advanced PS, EPS and XPS API Features
Creating and Modifying XPS Files | Adding or Removing Pages from XPS Documents | Work with elements such as canvases, path, and glyphs |
Create and manage vector graphics of shapes and text strings | Select brushes and color palettes for editing | Using Multiple Document Elements Within the Same XPS for Package Boost Operations |
Manage the print queue | Save XPS files to PDFs and bitmaps | Save EPS documents in bitmaps and PDFs |
Reading and Creating XPS Files
Aspose.Page for .NET supports not only loading XPS files for manipulation, but it also provides the ability to create XPS files from scratch. . NET developers can use APIs to automate scripts that can help them along the way.
Creating Document Pages from Scratch – C#:
// create XPS document
XpsDocument xpsDocs = new XpsDocument();
// add glyph to the document
var glyphs = xpsDocs.AddGlyphs(“Arial”, 12, FontStyle.Regular, 300f, 450f, “Hello World!”);
glyphs.Fill = xpsDocs.CreateSolidColorBrush(Color.Black);
// save result
xpsDocs.Save(dir + “output.xps”);
Convert PostScript files to PDF and images
Aspose.Page for .NET provides an easy-to-use mechanism for converting PS and EPS files to PDF and raster graphics formats. The conversion process can be configured to control image quality, as well as to handle errors if developers are working with packages.