Skip to content
| Marketplace
Sign in
Visual Studio>Controls>Aspose.Page for C++
Aspose.Page for C++

Aspose.Page for C++

Aspose Marketplace

|
112 clicks
| (0) | Free Trial
Load, manipulate and convert PostScript PS, EPS and XPS files to PDF and raster images from within C++ applications.
Get Started

C++ API for XPS Page Manipulation

Nuget 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

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft