Posted 9 September 2017, 8:21 am ESTHi
In my Application i have put two buttons like Next button and Previous button. and also put one C1PdfViewer control. Now i want to render only one page at a time. When i click on next or previous button at that time render page on viewer as per page index.
I have already tried with bellow code.
Assembly asm = typeof(MainPage).GetTypeInfo().Assembly;
Stream stream = asm.GetManifestResourceStream("TestPDFViewer.1.pdf");
IList<FrameworkElement> PageList = pdfviewer1.GetPages();
In above code i don't understand how to render page from PageList variable. How to load one single page in C1PdfViewer using FrameworkElement ?
Do you have any examples regarding to GetPages() method. Please to suggest to me for fulfilling my application requirement.
Thanks & Regards