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.

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!");

    //Save the result
    xpsDocs->Save(dir + u"output.xps");

The library offers the conversion of XPS, PS, and EPS documents to PDF and raster image formats including BMP, JPEG, PNG, and TIFF. The developer can specify quality level, resolution, and page numbers while saving documents within images.
The solution also offers various conversions like:


Support and Learning Resources


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