Hello,
We are developing applicaiton in Visual Studio .Net 2010. Following code snippets that we are currently using and highlighted line throwing exception "Object reference not set":
Aspose.Pdf.Kit.PdfViewer viewer = new Aspose.Pdf.Kit.PdfViewer();
viewer.OpenPdfFile(pdffilename);
picPDFViewer.Image = viewer.DecodePage(1);
viewer.ClosePdfFile();
If we are using wrong code snippets then please suggest us how we would achive this to show PDF in our application.
Thanks,
Sanjay