Property | Type | Description |
---|
Method | Description | |
---|---|---|
BitmapSourceFromPage ( System.Windows.Documents.DocumentPage docPage, double resolution ) : System.Windows.Media.Imaging.BitmapSource | ||
Convert ( PdfSharp.Xps.XpsModel.XpsDocument xpsDocument, string pdfFilename, int docIndex ) : void |
Implements the PDF file to XPS file conversion.
|
|
Convert ( string xpsFilename ) : void |
Converts the specified PDF file into an XPS file. The new file is stored in the same directory.
|
|
Convert ( string xpsFilename, string pdfFilename, int docInde ) : void |
Implements the PDF file to XPS file conversion.
|
|
Convert ( string xpsFilename, string pdfFilename, int docIndex, bool createComparisonDocument ) : void |
Implements the PDF file to XPS file conversion.
|
|
CreatePage ( int xpsPageIndex ) : |
HACK
|
|
Initialize ( ) : void | ||
RenderPage ( |
Renders an XPS document page to the specified PDF page.
|
|
SaveXpsPageToBitmap ( string xpsFileName ) : void | ||
XpsConverter ( PdfSharp.Pdf.PdfDocument pdfDocument, PdfSharp.Xps.XpsModel.XpsDocument xpsDocument ) : System |
Initializes a new instance of the XpsConverter class.
|
|
XpsConverter ( PdfSharp.Pdf.PdfDocument pdfDocument, string xpsDocumentPath ) : System |
Initializes a new instance of the XpsConverter class.
|
static public BitmapSourceFromPage ( System.Windows.Documents.DocumentPage docPage, double resolution ) : System.Windows.Media.Imaging.BitmapSource | ||
docPage | System.Windows.Documents.DocumentPage | |
resolution | double | |
return | System.Windows.Media.Imaging.BitmapSource |
public static Convert ( PdfSharp.Xps.XpsModel.XpsDocument xpsDocument, string pdfFilename, int docIndex ) : void | ||
xpsDocument | PdfSharp.Xps.XpsModel.XpsDocument | |
pdfFilename | string | |
docIndex | int | |
return | void |
public static Convert ( string xpsFilename ) : void | ||
xpsFilename | string | |
return | void |
public static Convert ( string xpsFilename, string pdfFilename, int docInde ) : void | ||
xpsFilename | string | |
pdfFilename | string | |
docInde | int | |
return | void |
public static Convert ( string xpsFilename, string pdfFilename, int docIndex, bool createComparisonDocument ) : void | ||
xpsFilename | string | |
pdfFilename | string | |
docIndex | int | |
createComparisonDocument | bool | |
return | void |
public CreatePage ( int xpsPageIndex ) : |
||
xpsPageIndex | int | |
return |
public RenderPage ( |
||
page | The target PDF page. The page must belong to the PDF document of this converter. | |
xpsPageIndex | int | The zero-based XPS page number. |
return | void |
static public SaveXpsPageToBitmap ( string xpsFileName ) : void | ||
xpsFileName | string | |
return | void |
public XpsConverter ( PdfSharp.Pdf.PdfDocument pdfDocument, PdfSharp.Xps.XpsModel.XpsDocument xpsDocument ) : System | ||
pdfDocument | PdfSharp.Pdf.PdfDocument | The PDF document. |
xpsDocument | PdfSharp.Xps.XpsModel.XpsDocument | The XPS document. |
return | System |
public XpsConverter ( PdfSharp.Pdf.PdfDocument pdfDocument, string xpsDocumentPath ) : System | ||
pdfDocument | PdfSharp.Pdf.PdfDocument | The PDF document. |
xpsDocumentPath | string | The XPS document path. |
return | System |