Add two additional buttons in the RadPdfViewerNavigator like in Adobe Reader: - The first one must fill the window with each page and scroll through pages continuously. - The second one must show one page at a time.
A dictionary specifying any resources (such as fonts and images) required by the form XObject (see Section 3.7 from http://partners.adobe.com/public/developer/en/pdf/PDFReference.pdf
1. Load file which is signed with digital signature 2. Scroll to the end of document - you will see that the signature is not visible.
It will be a great addition of RadPdfViewer if it supports forms/controls.
Import documents that use this type of encryption. Currently, a handled NotSupportedEncryptionException with message "The encryption method with code 5 is not supported." is thrown while importing such a document.
Add bookmarks functionality
It will be a nice addition to RadPdfViewer if it can export page thumbnails as an image.
Add an option to save and/or email document. It is especially useful if a file stream is loaded into the viewer. Currently, the following approach can be used: private Stream GetPdfStream() { Type documentType = this.radPdfViewer1.PdfViewerElement.Document.GetType(); FieldInfo internalDocumentField = documentType.GetField("internalDocument", BindingFlags.NonPublic | BindingFlags.Instance); object internalDocumentValue = internalDocumentField.GetValue(this.radPdfViewer1.PdfViewerElement.Document); FieldInfo formatProviderField = internalDocumentValue.GetType().GetField("formatProvider", BindingFlags.NonPublic | BindingFlags.Instance); PdfFormatProvider formatProvder = formatProviderField.GetValue(internalDocumentValue) as PdfFormatProvider; FieldInfo field = formatProvder.GetType().GetField("stream", BindingFlags.NonPublic | BindingFlags.GetField | BindingFlags.Instance); Stream stream = field.GetValue(formatProvder) as Stream; return stream; }
FIX. RadPdfViewer - add option for unloading documents. Make sure that manipulating with the file is possible after being unloaded.
ADD. RadPdfViewer - add ability to show the document pages as thumbnails
This issue can be observed when the text is too big to fit in cell.
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(); } } }
This is Unicode (UTF-16BE) encoding for the Adobe-GB1 character collection; contains mappings for all characters in the GB18030-2000 character set. Described on page 443 in Pdf Reference 1.7.
radPdfViewer1.PdfViewerElement.Find("keyword", PageNumber); Resolution: You can use the following code snippet: radPdfViewer1.PdfViewerElement.Find(string text, int pageNumber)
According to PDF format specification, there are three valid encoding name values (MacRomanEncoding, MacExpertEncoding and WinAnsiEncoding). There are documents that instead of skipping the optional Encoding property, are writing invalid /NULL name value in the font dictionary. Currently, in this invalid document scenario RadPdfViewer throws and catches Exception and this results in missing text content. We may handle this invalid document scenario by ignoring the invalid Encoding value.
The events should provide information as to when a page is about to be rendered and when it is displayed in the control.