Unplanned
Last Updated: 28 Aug 2023 11:58 by ADMIN

Load a document with bookmarks and select the bookmarks options. Then, move the splitter:

Expected: the selected option (bookmarks) is unchanged

Actual: the selected option (bookmarks) is not preserved and it is reset

 
Completed
Last Updated: 16 Aug 2023 10:51 by ADMIN
Release R3 2023 (LIB 2023.2.816)
Created by: Patric
Comments: 1
Category: PdfViewer
Type: Bug Report
1
In some specific PDF documents, when it is shown in the PdfViewer, the text is missing. This behavior is not observed in the R1 2023 version of our controls. With the R1 2023 SP1 some documents are not visualized correctly.
Completed
Last Updated: 11 Aug 2023 04:05 by ADMIN

Is there a way to load this RadFixedDocument into a RadPdfViewer without writing the document to a file first and then loading it in the viewer?

Workaround:

You can achieve the desired functionality by exporting the RadFixedDocument to a MemoryStream instead of a file in the file system and then load it in the PdfViewer: 

RadFixedDocument document = CreateRadFixedDocument();

PdfFormatProvider pdfFormatProvider = new PdfFormatProvider();
Stream ms = new MemoryStream();
pdfFormatProvider.Export(document, ms);

radPdfViewer1.LoadDocument(ms);

 

Completed
Last Updated: 18 Jul 2023 14:26 by ADMIN
Release R2 2023 SP1

When creating many instances of RadPdfViewer:

        static void Main(string[] args)
        {
            int i = 1;
            try
            {
                Stopwatch stopwatch = Stopwatch.StartNew();
                while (true)
                {
                    using (RadPdfViewer pdfViewer = new RadPdfViewer())
                    {

                    }
                    Console.WriteLine($"iteration {i}, elapsed seconds: {stopwatch.Elapsed.TotalSeconds}");
                    i++;
                }
            }
            catch (Exception e)
            {
                Console.WriteLine($"Exception occurred at iteration {i}");
                Console.WriteLine(e);
                Console.ReadLine();
            }
        }

the following error occurs:  

System.Runtime.InteropServices.ExternalException (0x80004005): A generic error occurred in GDI+.
   at System.Drawing.Bitmap.GetHicon()
   at Telerik.WinControls.PdfViewer.MouseHandlers.PanHandler..ctor(MouseHandlersController controller, IFixedDocumentPresenter presenter)
   at Telerik.WinControls.PdfViewer.MouseHandlers.MouseHandlersController.BuildHandlers(IFixedDocumentPresenter presenter)
   at Telerik.WinControls.PdfViewer.MouseHandlers.MouseHandlersController..ctor(IFixedDocumentPresenter presenter)
   at Telerik.WinControls.UI.RadPdfViewerElement..ctor()
   at Telerik.WinControls.UI.RadPdfViewer.CreateViewerElement()
   at Telerik.WinControls.UI.RadPdfViewer.CreateChildItems(RadElement parent)
   at Telerik.WinControls.RadControl.Telerik.WinControls.IComponentTreeHandler.CreateChildItems(RadElement parent)
   at Telerik.WinControls.RadElementTree.InitializeRootElement()
   at Telerik.WinControls.RadControl.Construct()
   at Telerik.WinControls.RadControl..ctor()
   at Telerik.WinControls.UI.RadPdfViewer..ctor()
Completed
Last Updated: 18 Jul 2023 14:26 by ADMIN
Release R2 2023 SP1
ADMIN
Created by: Dess | Tech Support Engineer, Principal
Comments: 2
Category: PdfViewer
Type: Bug Report
4
Handled InvalidDataException occurs while Zip Library tries to decompress wrongly decrypted stream.
Completed
Last Updated: 18 Jul 2023 14:26 by ADMIN
Release R2 2023 SP1
Completed
Last Updated: 07 Jun 2023 10:39 by ADMIN
Release R2 2023 (2023.2.606)
ADMIN
Created by: Dess | Tech Support Engineer, Principal
Comments: 0
Category: PdfViewer
Type: Feature Request
1
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.
Completed
Last Updated: 07 Jun 2023 10:38 by ADMIN
Release R2 2023 (2023.2.606)
Unplanned
Last Updated: 08 May 2023 07:17 by ADMIN
Created by: Christopher
Comments: 1
Category: PdfViewer
Type: Feature Request
0

Add functionality for a PDF form filler that supports text auto-sizing/shrinking like Adobe:

Unplanned
Last Updated: 27 Apr 2023 11:39 by Gurmeet
Created by: Gurmeet
Comments: 0
Category: PdfViewer
Type: Feature Request
0
Introduce locking a document opened in viewer.
Completed
Last Updated: 27 Mar 2023 07:14 by ADMIN
Release R1 2023 SP1

Open the Demo application >> Interactive Forms example and apply the Office2019Dark theme. You will notice that if the text field enters edit mode, it is difficult to read the input due to black fore color and black backcolor:

Completed
Last Updated: 27 Mar 2023 06:39 by ADMIN
Release R1 2023 SP1

Run the project and load a document with bookmarks. Try to click the two buttons in order to switch between thumbnails/bookmarks. 

        private void radButton1_Click(object sender, EventArgs e)
        {
            this.radPdfViewer1.ShowThumbnails();
        }

        private void radButton2_Click(object sender, EventArgs e)
        {
            this.radPdfViewer1.ShowBookmarks();
        }

Expected: clicking the two buttons should switch between bookmarks/thumbnails

Actual: the user is stuck to bookmarks

Completed
Last Updated: 27 Mar 2023 06:36 by ADMIN
Release R1 2023 SP1 (LIB 2023.1.124)
A large image is rendered slowly and the memory consumption is huge. 
Duplicated
Last Updated: 20 Mar 2023 08:05 by ADMIN
As a result, the glyphs are not measured and positioned properly. The issue applies to the TrueType and Type1 fonts.
Unplanned
Last Updated: 07 Mar 2023 08:08 by Ken
Expose API that allows you to access the current editor. Perhaps add some events to the EditingFields class.
Unplanned
Last Updated: 01 Mar 2023 07:17 by David
The GetSelectedText method returns incorrect spacing with some documents. 
Declined
Last Updated: 02 Feb 2023 11:19 by ADMIN

When exporting a RadFixedDocument, which contains a signature added with PdfProcessing a NotSupportedException is thrown: 'Stream does not support reading.'

Resolution: When exporting a digitally signed document a stream that allows both reading and writing should be passed to the PdfFormatProvider.

Example:

Stream outputStream = new FileStream("path", FileMode.OpenOrCreate, FileAccess.ReadWrite)

Unplanned
Last Updated: 10 Jan 2023 09:41 by ADMIN
To reproduce: 
        public TestRadForm()
        {
            InitializeComponent();
            this.radPdfViewer1.LoadDocument(@"..\..\..\SampleDocument.pdf");
        }

        private void radButton1_Click(object sender, EventArgs e)
        {
            this.radPdfViewer1.Document.AcroForm.FlattenFormFields();
            this.radPdfViewer1.SaveDocument(@"..\..\saved.pdf");
        }
Unplanned
Last Updated: 09 Jan 2023 10:15 by Rakesh
The selection position is wrong when each character is drawn with PDF operators.
Unplanned
Last Updated: 21 Dec 2022 07:04 by Joaquin
Created by: Joaquin
Comments: 0
Category: PdfViewer
Type: Feature Request
1
Add support for XFA fields