Aspose.Page 21.4.0

Aspose.Page for .NET makes your .NET Apps instantly support to work with XPS, EPS/PS documents without installing any 3rd party software. It helps developers create/edit XPS documents while working with canvas, paths, and glyph elements. Utilize a set of primitives, such as, elliptical arcs, straights lines, Bezier curve segments to create vector graphics. Add default print tickets and preserve them in the XPS file. Link print ticket objects among job/document/page. Work with Print Schema model classes for ticket manipulation.

Aspose.Page for .NET also works with gradient, visual brush, transparency and document conversion. Aspose.Page for .NET also supports the PostScript language levels 1-3 with exception of some font types. It offers the ability to save EPS files to PDF, while also offers to convert the EPS, PS and XPS formats into raster image formats.

Aspose.Page for .NET is written completely in C# and supports Windows Forms as well as the ASP.NET applications with both the 32-bit and 64-bit OS support (MS Windows Desktop & Server). Support for Windows Azure is also available.

There is a newer version of this package available.
See the version list below for details.
Install-Package Aspose.Page -Version 21.4.0
dotnet add package Aspose.Page --version 21.4.0
<PackageReference Include="Aspose.Page" Version="21.4.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Aspose.Page --version 21.4.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Aspose.Page, 21.4.0"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install Aspose.Page as a Cake Addin
#addin nuget:?package=Aspose.Page&version=21.4.0

// Install Aspose.Page as a Cake Tool
#tool nuget:?package=Aspose.Page&version=21.4.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

XPS File Manipulation via .NET API

Version 21.4 Nuget

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

Aspose.Page for .NET is an on premise .NET 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.

Developers can perform various operations on XPS documents, such as, add text, images, pages, gradient, grid using the visual brush, transparency object and set opacity mask. It allows you to create, edit and convert the file pages as well as the ability to manipulate documents and elements, create vector graphics, group shapes, and specifying colors in different color spaces including sRGB, scRGB, and any space-based on ICC profile.

XPS, EPS & PS Processing Features

  • Create & modify XPS documents via API.
  • Add pages to XPS documents.
  • Create vector graphic shapes (Path element) and text strings (Glyphs element).
  • Group various elements as well as modify the appearance of text strings and graphics.
  • Support for visual brush, image brush, solid color brush, and more.
  • Work with multiple documents within an XPS document.
  • Preserve print tickets and add default print tickets to new XPS documents.
  • Perform cross-package operations such as inserting a page from another document.
  • Conversion of XPS, PS & EPS documents to other popular formats.
  • Supports PostScript language levels 1-3 with an exception of font types: Type2 (CFF), Type14 (Chameleon), Types 9, 10, 11, 32 (CID-Keyed).

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 .NET can be integrated with any kind of ASP.NET Web Application or a Windows Application.

Get Started with Aspose.Page for .NET

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

Create an XPS Document from Scratch via C# Code

Execute the below code snippet to see how Aspose.Page API performs in your own environment or check the GitHub Repository for other common usage scenarios.

// create XPS document
XpsDocument xDocs = new XpsDocument();
// add glyph to the document
var glyphs = xDocs.AddGlyphs("Arial", 12, FontStyle.Regular, 300f, 450f, "Hello World!");
glyphs.Fill = xDocs.CreateSolidColorBrush(Color.Black);
// save result
xDocs.Save(dir + "output.xps");

Convert a PostScript (PS) File to PDF Format

Aspose.Page for .NET allows you to work with document conversion, such as; PS to images, PS to PDF, XPS to images, XPS to PDF and so on. The following snippet demonstrates the conversion of PS to PDF using streams:

// initialize PostScript input stream
var psStream = new System.IO.FileStream(dir + "template.ps", System.IO.FileMode.Open, System.IO.FileAccess.Read);
// initialize PDF output stream
var pdfStream = new System.IO.FileStream(dir + "output.pdf", System.IO.FileMode.Create, System.IO.FileAccess.Write);
// read PS file
var document = new PsDocument(psStream);
// create a device for output steram
var device = new PdfDevice(pdfStream);
try
{
    document.Save(device, options);
}
finally
{
    psStream.Close();
    pdfStream.Close();
}

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

XPS File Manipulation via .NET API

Version 21.4 Nuget

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

Aspose.Page for .NET is an on premise .NET 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.

Developers can perform various operations on XPS documents, such as, add text, images, pages, gradient, grid using the visual brush, transparency object and set opacity mask. It allows you to create, edit and convert the file pages as well as the ability to manipulate documents and elements, create vector graphics, group shapes, and specifying colors in different color spaces including sRGB, scRGB, and any space-based on ICC profile.

XPS, EPS & PS Processing Features

  • Create & modify XPS documents via API.
  • Add pages to XPS documents.
  • Create vector graphic shapes (Path element) and text strings (Glyphs element).
  • Group various elements as well as modify the appearance of text strings and graphics.
  • Support for visual brush, image brush, solid color brush, and more.
  • Work with multiple documents within an XPS document.
  • Preserve print tickets and add default print tickets to new XPS documents.
  • Perform cross-package operations such as inserting a page from another document.
  • Conversion of XPS, PS & EPS documents to other popular formats.
  • Supports PostScript language levels 1-3 with an exception of font types: Type2 (CFF), Type14 (Chameleon), Types 9, 10, 11, 32 (CID-Keyed).

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 .NET can be integrated with any kind of ASP.NET Web Application or a Windows Application.

Get Started with Aspose.Page for .NET

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

Create an XPS Document from Scratch via C# Code

Execute the below code snippet to see how Aspose.Page API performs in your own environment or check the GitHub Repository for other common usage scenarios.

// create XPS document
XpsDocument xDocs = new XpsDocument();
// add glyph to the document
var glyphs = xDocs.AddGlyphs("Arial", 12, FontStyle.Regular, 300f, 450f, "Hello World!");
glyphs.Fill = xDocs.CreateSolidColorBrush(Color.Black);
// save result
xDocs.Save(dir + "output.xps");

Convert a PostScript (PS) File to PDF Format

Aspose.Page for .NET allows you to work with document conversion, such as; PS to images, PS to PDF, XPS to images, XPS to PDF and so on. The following snippet demonstrates the conversion of PS to PDF using streams:

// initialize PostScript input stream
var psStream = new System.IO.FileStream(dir + "template.ps", System.IO.FileMode.Open, System.IO.FileAccess.Read);
// initialize PDF output stream
var pdfStream = new System.IO.FileStream(dir + "output.pdf", System.IO.FileMode.Create, System.IO.FileAccess.Write);
// read PS file
var document = new PsDocument(psStream);
// create a device for output steram
var device = new PdfDevice(pdfStream);
try
{
    document.Save(device, options);
}
finally
{
    psStream.Close();
    pdfStream.Close();
}

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

Release Notes

https://docs.aspose.com/page/net/aspose-page-for-net-21-4-release-notes/

Dependencies

This package has no dependencies.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on Aspose.Page:

Package Downloads
Aspose.Total
Aspose.Total for .NET is the most complete package of all .NET file format APIs offered by Aspose. It empowers developers to create, edit, render, print and convert between a wide range of popular document formats within any .NET, C#, ASP.NET and VB.NET applications.
Conholdate.Total
Conholdate.Total for .NET is a complete package to work with a large number of file formats from Microsoft Word, Excel, PowerPoint, Outlook, Project, Visio, Adobe Acrobat, Illustrator, Photoshop, AutoCAD, OpenOffice and many more. Conholdate.Total for .NET allows you to use any API released under Aspose and GroupDocs for .NET in order to create, convert, read, edit, update and print popular document formats. Moreover, you may view, annotate, watermark, assemble, classify, search, redact, parse, merge and compare documents without needing to install the native applications. It helps you in file format manipulation and document automation via simple API. Conholdate.Total for .NET also includes specialized APIs to read and create barcodes, extract text from images using OCR as well as extract human marked data from questioners, surveys, quizzes, MCQ papers and feedback forms.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
21.7.0 93 7/21/2021
21.6.0 484 6/22/2021
21.4.0 8,494 4/20/2021
21.2.0 1,991 2/24/2021
21.1.0 1,108 1/21/2021
20.11.0 7,553 11/12/2020
20.10.0 903 10/13/2020
20.9.0 418 10/12/2020
20.7.0 728 7/21/2020
20.6.0 884 6/19/2020
20.5.0 1,982 5/21/2020
20.4.0 1,671 4/14/2020
20.3.0 919 3/23/2020
20.1.0 1,505 1/23/2020
19.12.0 1,200 12/17/2019
19.11.0 346 11/13/2019
19.10.0 325 10/16/2019
19.9.0 4,952 9/12/2019
19.8.0 361 8/16/2019
19.7.0 272 7/29/2019
19.6.0 386 7/3/2019