Skip to main content
Any Framework

Aspose.Page for C++ is a native C++ library that enables the developers to add Page handling capabilities to their C++ applications. The library allows to perform a wide range of document processing tasks including creation of XPS files, form processing, text and page manipulation, management of annotations, attachments, bookmarks, custom font handling and much more.

Published
Jun 26, 2025
1y ago
Total Downloads
397.3K
397,330

Install

dotnet add package Aspose.Page.Cpp --version 25.6.0

No framework information available.

README

C++ API for XPS Page Manipulation

Version 22.12.0 Nuget

banner

Product Page | Docs | Demos | API Reference | Examples | Blog | Search | Free Support | Temporary License

Aspose.Page for C++ is an on premise C++ API that allows you to add XPS manipulation features to your own applications. The API also supports converting XPS, EPS & PS documents to other formats.

XPS Processing Features

  • Create and edit XPS documents.
  • Add or remove pages of XPS document.
  • Create vector graphics shapes (Path element) using a set of primitives (elliptical arcs, Bezier curve segments, and straight-line segments).
  • Create text strings (Glyphs element).
  • Group elements (Canvas element) to manipulate a group as a whole.
  • Supports brushes of various types, such as solid color brush, image brush, visual brush, etc.
  • Supports different color spaces including sRGB, scRGB, and any space-based on ICC profile.
  • Works for multiple documents inside an XPS document.
  • Add default print tickets into the new XPS document or preserve print tickets in opened XPS.
  • Save XPS documents in various supported file formats.

Supported Read Formats

XPS, EPS, PS

Save XPS Documents As

Fixed Layout: PDF
Image: BMP, TIFF, JPEG, PNG

Save PS & EPS Documents As

Metafiles: EMF, WMF
Animation: GIF
Image: BMP, TIFF, JPEG, PNG

Platform Independence

Aspose.Page for C++ is a native library. It supports 32 as well as 64-bit operating systems (Microsoft Windows desktop (XP, Vista, 7, 8, 10) and server operating systems (2003, 2008, 2012)). Aspose.Page for C++ is designed to perform equally well, both on the server and client-side. It is a native assembly that can be deployed by simply copying it.

Get Started

Are you ready to give Aspose.Page for C++ a try? Simply execute Install-Package Aspose.Page.Cpp from Package Manager Console in Visual Studio to fetch the NuGet package. If you already have Aspose.Page for C++ and want to upgrade the version, please execute Update-Package Aspose.Page.Cpp to get the latest version.

Insert Pages in XPS Files using C++

// Create new XPS file
auto doc = System::MakeObject<XpsDocument>(dataDir() + u"Sample1.xps");
// Add empty page at end
doc->AddPage();
// Insert an empty page at beginning of pages list
doc->InsertPage(1, true);
// Save resultant XPS document
doc->Save(outDir() + u"AddPages_out.xps");

Product Page | Docs | Demos | API Reference | Examples | Blog | Search | Free Support | Temporary License

Changes from Previous Version

No structural changes between v25.4.0 and v25.6.0.

Adoption Assessment

A verified publisher signal is available. Assess fit from the package's supported frameworks, license and dependency graph rather than popularity alone.

No SPDX license expression is published. Review the license text and your organisation's policy before redistribution.No target framework metadata is available. Confirm compatibility in a representative project before standardising on this package.

Related Guides & Workflows

Learn how to evaluate, integrate, or audit this package in your .NET project.