I am using RadPDFViewer, i built a specific toolbar for manage the funcionalities of the viewer.
I didn´t found the any event when the current page is changed in viewer. I would like to show a label "Page NN of TT".
I found this "https://www.telerik.com/forums/page-changed-detected", but didn´t have this event in RadPDFViewer.
Whats the better solution for the raise event when the current page displayed is changed?
Can you help me ?!?
Hi
I'm using PDFViewer to display several documents in my application. Most of them are shown the right way, but there are others that appear "empty", or with some graphic elements but no text. I can see them perfectly with external third party viewers.
I've just downloaded and installed 2019.3.1022, but this issue remains.
I send some samples of PDF that are not showing.
Thank you in advance for your help.
To reproduce:
doc.Pages[0].CropBox = new Rect(150, 150, doc.Pages[0].Size.Width - 30, doc.Pages[0].Size.Height - 30);
The current implementation relies on valid cross-reference table offsets in the PDF documents so that PDF objects are easily found and parsed. However, a mechanism for importing documents with invalid cross-reference table offsets may be implemented.
The attached project shows how to repair such documents.
Please refer to the attached gif file and sample project. When you hide the overflow button with the first pixel, although it is indicated as Visible, it is actually not shown. Workaround: Timer timer = new Timer(); private void commandBarStrip_ItemOverflowed(object sender, EventArgs e) { timer.Interval = 100; timer.Tick += timer_Tick; timer.Start(); } private void timer_Tick(object sender, EventArgs e) { timer.Tick -= timer_Tick; var commandBarStrip = this.radPdfViewerNavigator1.CommandBarElement.Rows[0].Strips[0]; commandBarStrip.OverflowButton.Visibility = ElementVisibility.Visible; timer.Stop(); }
Please refer to the attached sample screenshot demonstrating how the document look in Adobe and in RadPdfViewer.
To reproduce:
Open a large document and start scrolling fast.
The pages a blank when scrolling and are rendered after scrolling stops.
Add bookmarks functionality