Open large file in RadPDFViewer. Navigate from page 70 to page 250 or enter number by hand and you will notice that the page is opened slowly.
Add rotate view button.
The RadPdfViewer throws ArgumentOutOfRangeException, when document is loaded. Resolution: An exception message is shown when load the pdf document which contains unsupported encryption method.
PdfViewer - throws System.OutOfMemoryException in PdfElementsRenderer.RenderImage when the scroll is moving fast.
Add the ability to recognize if the document is in portrait or landscape mode when printing.
NullReferenceException when the document annotations are imported.
To reproduce: - Just show and close a form that contains pdf viewer with a loaded document several times.
Workaround: until the feature be implemented one can print each page individually respecting its orientation whether it is portrait or landscape public partial class Form1 : Form { public Form1() { InitializeComponent(); this.radPdfViewer1.LoadDocument(@"..\..\sample.pdf"); } private void radButton1_Click(object sender, EventArgs e) { RadPrintDocument doc = new RadPrintDocument(); doc.AssociatedObject = this.radPdfViewer1; for (int i = 0; i < this.radPdfViewer1.Document.Pages.Count; i++) { RadFixedPage page = this.radPdfViewer1.Document.Pages[i]; doc.CurrentPage = i; doc.PrinterSettings.PrintRange = PrintRange.CurrentPage; doc.Landscape = page.ActualWidth > page.ActualHeight; doc.Print(); } } }
There is opportunity to further optimize the caching mechanism of the image sources, which will reduce the memory consumption. The fast scrolling in a document containing big images could lead to an OutOfMemoryException. Openining very large images as well.