h1.post-title { color:orange; font-family:verdana,Arial; font-weight:bold; padding-bottom:5px; text-shadow:#64665b 0px 1px 1px; font-size:32px; } -->

Pages

XPS To PDF File in VB.Net

Select .Net 3.5 Framework

Private Sub XPSToPDF(ByVal xpsFile As String, ByVal PDFFile As String)
        PdfSharp.Xps.XpsConverter.Convert(xpsFile, PDFFile, 0)
End Sub

Add Reference
PDFSharp.Xps  (search on Google)

No comments:

Post a Comment