Page Description Languages describe the appearance of a page at a higher level than an array of pixels. PDLs serve as a binding link between computer applications, such as graphics tools, text editors, etc, and output devices: publishing (printing) systems and displays. Most printing systems treat printed pages as a rectangle of m pixels in width and n pixels in a height. Of course, it is not convenient to store such large files in memory, edit them, and transfer them over the distributed network. This solution supports PS, EPS, and XPS Page Description Languages.
Aspose.Page for C++ is a reliable library for XPS, PS, and EPS file rendering and manipulation. It allows to creation, modification, and conversion of existing as well as new XPS files without requiring any other software. API allows operations such as the manipulation of document pages and elements such as canvases, paths, and glyphs, creating and manipulating vector graphics shapes, and specifying colors in different color spaces. Moreover, developers can convert PS and EPS documents to PDF as well as in different raster image formats.
At a Glance
An overview of Aspose.Page for C++ 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
Library can be integrated with any kind of C++ application developed on Linux or Windows platform with system requirements .
Supported File Formats
Aspose.Page for C++ supported file formats are listed below
- Fixed Layout: XPS
- PostScript: EPS, PS
- Fixed Layout: PDF
- Images: PNG, JPEG, TIFF, BMP
- EMF, WMF
Learn more about PS, EPS, and XPS API Features:
Insert Pages into XPS Files
Aspose.Page for C++ supports loading XPS files for manipulation and we can easily add new pages within that file. C++ developers can use the library to automate scenarios that may help them on their way.
Add document Pages to an XPS file - C++
//Create an XPS document auto xpsDocs = MakeObject<XpsDocument>(); //Add a glyph to the document auto glyphs = xpsDocs->AddGlyphs(u"Arial", 12, FontStyle::Regular, 300f, 450f, u"Hello World!"); glyphs->set_Fill(xpsDocs->CreateSolidColorBrush(Color::get_Black)); //Save the result xpsDocs->Save(dir + u"output.xps");