Class XpsExport
- Namespace
- Rustaveli.Pdf
- Assembly
- Rustaveli.Pdf.Raster.dll
Exports a document as XPS, the fixed-layout format Windows prints through. Available on Windows only, where the system writes it.
public static class XpsExport
- Inheritance
-
XpsExport
- Inherited Members
Methods
ExportXps(Document, VectorExportOptions?)
Exports the document as one XPS document.
public static byte[] ExportXps(this Document document, VectorExportOptions? options = null)
Parameters
documentDocumentoptionsVectorExportOptions
Returns
- byte[]
Exceptions
- PlatformNotSupportedException
Not running on Windows.
ExportXps(Document, string, VectorExportOptions?)
Exports the document as one XPS file at path.
public static void ExportXps(this Document document, string path, VectorExportOptions? options = null)
Parameters
documentDocumentpathstringoptionsVectorExportOptions
Exceptions
- PlatformNotSupportedException
Not running on Windows.