The Topic is Self Explanatory
I've incorporated your Spire.PDF for VB.Net 2019
I tried incorporating the Code somehow it did not display/View the PDF File in PDF Viewer
- Code: Select all
Imports Spire.Pdf
Imports Spire.Pdf.Text is blurred
Public Class PdfTrial
Private Sub PdfTrial_Load(sender as Object, e As EventArgs) Handles MyBase.Load
dim dirPath ="C:\PDF-Files\3.PDF"
'It Works with Following Syntax
PdfDocumentViewer1.LoadFromFile(dirpath)
'But as per your Link
'I changed the above to
dim dirPath ="C:\PDF-Files\3.PDF"
Dim pdfDoc as PdfDocument = New PdfDocument()
pdfDoc.LoadFromFile(dirpath)
'The above syntax probably not loading the File
End Sub
Please Help inorder to have correct syntax as used from your link
Thanks
SamD
1