Unplanned
Last Updated: 12 Feb 2024 06:19 by ADMIN
The image inside an XObejct is not shown in the correct position. 
Unplanned
Last Updated: 09 Feb 2024 11:51 by ADMIN
When changing the device culture to RTL (e.g. Hebrew but not only) in a project targeting .NET 5 (or later), some documents are rendered incorrectly.

Possible Workaround: To downgrade to .NET Core 3.1
Unplanned
Last Updated: 31 Jan 2024 08:03 by ADMIN
ADMIN
Created by: Deyan
Comments: 0
Category: PDFViewer
Type: Feature Request
6
Represents Highlights PDF content. While the other annotations are drawn on top of the content, the highlight annotation is behind the text it highlights. In other words, it has to be inserted at a specific place in the ContentElementsUILayer. The precise place where the highlight should be placed is described in the PDF file with the BDC, MCID and EMC operators. At the moment, we have implemented a read-only rendering for all annotation types which draws the annotions separately from the page content. In the case of Highlight, the annotation is drawn below the other content. With this implementation, depending on the PDF content, the highlight annotation might be visible or it might not be because in some cases there is geometry content below the highlighted text which hides the highlight annotation appearance. 
Unplanned
Last Updated: 04 Jan 2024 11:12 by ADMIN

A password is asked although Adobe opens the document without one when the document is encrypted with "Encryption of data using the RC4 or AES algorithms with a file encryption key length of 40 bits." - Version 1 (V 1) Revision 2 (R 2).

Similar cases (V1 R3 and V2 R3) are handled in the following item: PdfViewer: A password is asked although Adobe opens the document without one.

Completed
Last Updated: 18 Dec 2023 06:53 by ADMIN
Release LIB 2023.3.1218 (18 Dec 2023)
When the Interactive Form Fields are in read-only mode, the user should not be able to change the value of the field. The associated Form Field widgets should not interact with the user, e.g. they should not respond to mouse clicks or change their appearance in response to mouse motions.
Unplanned
Last Updated: 13 Dec 2023 08:00 by Roman
 Exception when rendering a file with a lot of RenderTargetBitmap objects (Com Exception: MILERR_WIN32ERROR). It seems that we are creating this for tilling patters which are not reused and we ca reconsider our appraoch.  
Unplanned
Last Updated: 05 Dec 2023 09:56 by Martin Ivanov
The text elements in a document are positioned wrongly and are slightly offset from their expected positions.
Unplanned
Last Updated: 30 Nov 2023 18:51 by Martin Ivanov
Currently, there are 10px of margin on each side of the FixedDocumentPresenter element showing the page. This is controlled by the PageMargins property of the PagesLayoutManagerBase class, which is set to a fixed value of 10. To change this, you will need to implement custom PagesLayoutManager and few other page presenter classes from scratch. 

Add a property that allows easily changing of the PageMargins value.

At this moment, you can work this around by setting the PageMargins via reflection.
var pageMarginsPropInfo = typeof(PagesLayoutManagerBase).GetField("pageMargins", System.Reflection.BindingFlags.Static | System.Reflection.BindingFlags.NonPublic);
pageMarginsPropInfo.SetValue(null, new Size(0, 0));

Unplanned
Last Updated: 14 Nov 2023 06:44 by ADMIN
Currently, RadPdfViewer uses WPF DrawingContext class for drawing page elements to a Canvas.  When PDF page has many content elements (usually geometries) drawing the page may be time-consuming and freezes the UI. 

Instead, we should consider implementing another approach for rendering the content asynchronously which would improve the user experience. 
Unplanned
Last Updated: 07 Nov 2023 09:07 by Piotr
The "scn" value is not interpreted correctly which causes graphics to be drawn differently from Adobe.
Completed
Last Updated: 18 Oct 2023 08:32 by ADMIN
Release LIB 2023.3.1023 (23 Oct 2023)
PdfViewer: The document remains locked when using bound PdfDocumentSource and ReadOnDemand even if it is changed.
Unplanned
Last Updated: 17 Oct 2023 08:08 by Dominik
 Expose API that allows you to access the current editor.
Unplanned
Last Updated: 16 Oct 2023 09:38 by Dominik

Provide a default appearance for fields that do not contain one. 

Workaround: set border and background manually:

var provider = new PdfFormatProvider();
var document = provider.Import(File.ReadAllBytes(@"..\..\..\Systemvariablen.pdf"));

foreach (var item in document.AcroForm.FormFields)
{ 
    var widget = item.Widgets.First() as VariableContentWidget;
     
    if (widget != null)
    { 
        widget.AppearanceCharacteristics.Background = new RgbColor(255, 0, 0);
        widget.AppearanceCharacteristics.BorderColor = new RgbColor(0, 0, 255);
        widget.Border = new AnnotationBorder(2, AnnotationBorderStyle.Solid, null);
      
        widget.RecalculateContent(); 
    }
}

pdfViewer.Document = document;

Unplanned
Last Updated: 21 Sep 2023 13:49 by Martin Ivanov
The memory consumption is increasing each time the Document property is changed at runtime. This memory doesn't get collected by the GC. To reproduce this, the Document property changes should happen with a small time interval between them. For example, several consecutive button clicks. Also, in order for that to be presented, the RadPdfViewerNavigationPane should be used and bound to the RadPdfViewer.

The issue is not reproducible if there is enough time between the Document changes, so that the UI is properly loaded.

To avoid the memory leak, avoid using the RadPdfViewerNavigationPane.
Unplanned
Last Updated: 21 Sep 2023 08:44 by Jan-Philipp
Created by: Jan-Philipp
Comments: 0
Category: PDFViewer
Type: Bug Report
1
Copy and Paste omits white spaces.
Unplanned
Last Updated: 18 Sep 2023 17:38 by Martin Ivanov

A memory leak occurs in the RadTreeView control used for the table of contents in the RadPdfViewerNavigationPane, when changing the DocumentSource of RadPdfViewer at runtime.

To work this around, you can get the RadTreeView used by RadPdfViewerNavigationPane and manually clear its internal item storage before assigning the new DocumentSource.

 

private void ReloadDocument()
{
	var navigationPane = this.pdfViewerNavigationPane;
	var navigationPaneTreeView = navigationPane.FindChildByType<RadTreeView>();
	if (navigationPaneTreeView != null)
	{
		object itemStorage = typeof(RadTreeView)
			.GetProperty("ItemStorage", BindingFlags.Instance | BindingFlags.NonPublic)
			.GetValue(navigationPaneTreeView);
		MethodInfo itemStorageClearMethod = itemStorage.GetType().GetMethod("Clear", BindingFlags.Instance | BindingFlags.NonPublic);
		itemStorageClearMethod.Invoke(itemStorage, null);		
	}
	
	this.DocumentSource = theNewDocumentSource;
}

 

Completed
Last Updated: 01 Sep 2023 13:31 by ADMIN
Release LIB 2023.2.904 (4 Sep 2023)
NullReferenceException when searching for a bookmark that does not have a destination.
Unplanned
Last Updated: 31 Aug 2023 10:45 by ADMIN
Created by: n/a
Comments: 1
Category: PDFViewer
Type: Bug Report
0

Some lines on attached files are to thick. Other pdf programs shows that correctly. 

Regards
Janez

Completed
Last Updated: 28 Aug 2023 08:22 by ADMIN
Release LIB 2023.2.904 (4 Sep 2023)
"FixedDocumentViewers_NavigationPane_Bookmarks" localization string is not present for the Italian language. 
Completed
Last Updated: 22 Aug 2023 11:59 by ADMIN
Release LIB 2023.2.904 (4 Sep 2023)
ArgumentException when using invalid regex in the find dialog
1 2 3 4 5 6