|
PdfSharp.Xps
1.1.15
|
Main class that provides the functionallity to convert an XPS file into a PDF file. More...
Classes | |
| class | ConvertOptions |
Public Member Functions | |
| XpsConverter (PdfDocument pdfDocument, XpsDocument xpsDocument) | |
| Initializes a new instance of the XpsConverter class. More... | |
| XpsConverter (PdfDocument pdfDocument, string xpsDocumentPath) | |
| Initializes a new instance of the XpsConverter class. More... | |
| PdfPage | CreatePage (int xpsPageIndex) |
| HACK More... | |
| void | RenderPage (PdfPage page, int xpsPageIndex) |
| Renders an XPS document page to the specified PDF page. More... | |
Static Public Member Functions | |
| static void | Convert (string xpsFilename) |
| Converts the specified PDF file into an XPS file. The new file is stored in the same directory. More... | |
| static void | Convert (string xpsFilename, string pdfFilename, int docInde) |
| Implements the PDF file to XPS file conversion. More... | |
| static void | Convert (string xpsFilename, string pdfFilename, int docIndex, bool createComparisonDocument) |
| Implements the PDF file to XPS file conversion. More... | |
| static void | Convert (string xpsFilename, string pdfFilename, int docIndex, bool createComparisonDocument, ConvertOptions opts=null) |
| static void | Convert (Stream xpsInStream, Stream pdfOutStream, bool closePdfStream) |
| Implements the PDF file to XPS file conversion. More... | |
| static void | Convert (Stream xpsInStream, Stream pdfOutStream, bool closePdfStream, ConvertOptions opts=null) |
| Implements the PDF file to XPS file conversion. More... | |
| static PdfDocument | Convert (IEnumerable< FixedPage > pages) |
| Converts a set of FixedPages from at least one XPS document into a PdfDocument. This method can be used to merge multiple XPS documents into a single PDF. More... | |
| static void | SaveXpsPageToBitmap (string xpsFileName) |
| static BitmapSource | BitmapSourceFromPage (DocumentPage docPage, double resolution) |
Properties | |
| PdfDocument | PdfDocument [get] |
| Gets the PDF document of this converter. More... | |
| XpsDocument | XpsDocument [get] |
| Gets the XPS document of this converter. More... | |
Main class that provides the functionallity to convert an XPS file into a PDF file.
| PdfSharp.Xps.XpsConverter.XpsConverter | ( | PdfDocument | pdfDocument, |
| XpsDocument | xpsDocument | ||
| ) |
Initializes a new instance of the XpsConverter class.
| pdfDocument | The PDF document. |
| xpsDocument | The XPS document. |
| PdfSharp.Xps.XpsConverter.XpsConverter | ( | PdfDocument | pdfDocument, |
| string | xpsDocumentPath | ||
| ) |
Initializes a new instance of the XpsConverter class.
| pdfDocument | The PDF document. |
| xpsDocumentPath | The XPS document path. |
|
static |
|
static |
Converts a set of FixedPages from at least one XPS document into a PdfDocument. This method can be used to merge multiple XPS documents into a single PDF.
| pages | A collection of FixedPages to render to PDF. |
|
static |
Implements the PDF file to XPS file conversion.
|
static |
Implements the PDF file to XPS file conversion.
|
static |
Converts the specified PDF file into an XPS file. The new file is stored in the same directory.
|
static |
Implements the PDF file to XPS file conversion.
|
static |
Implements the PDF file to XPS file conversion.
|
static |
| PdfPage PdfSharp.Xps.XpsConverter.CreatePage | ( | int | xpsPageIndex | ) |
HACK
| void PdfSharp.Xps.XpsConverter.RenderPage | ( | PdfPage | page, |
| int | xpsPageIndex | ||
| ) |
Renders an XPS document page to the specified PDF page.
| page | The target PDF page. The page must belong to the PDF document of this converter. |
| xpsPageIndex | The zero-based XPS page number. |
|
static |
|
get |
Gets the PDF document of this converter.
|
get |
Gets the XPS document of this converter.