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 to convert XPS, EPS & PS documents to other formats.
| Directory | Description |
|---|---|
| Examples | A collection of C++ examples that help you learn and explore the API 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,scRGBand any space-based onICCprofile. - Works for multiple documents inside an XPS document.
- Add default print tickets into new XPS document or preserve print tickets in opened
XPS. - Save XPS documents in various supported file formats.
PDF, BMP, TIFF, JPEG, PNG
PDF, BMP, TIFF, JPEG, PNG, EMF, WMF, GIF
Aspose.Page for C++ is a native library. It supports 32-bit & 64-bit operating systems.
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.
// create new XPS file
auto doc = System::MakeObject<XpsDocument>(u"template.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(u"output.xps");Home | Product Page | Docs | Demos | API Reference | Examples | Blog | Search | Free Support | Temporary License