Unplanned
Last Updated: 22 Apr 2024 10:53 by Valentin
 Form XObject that contains path with a Matrix position is not rendered.
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: 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: 10 Aug 2023 07:23 by Flavio
Created by: Flavio
Comments: 0
Category: PDFViewer
Type: Feature Request
1
Auto-enable text selection like adobe (see attached)
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
Declined
Last Updated: 22 May 2023 09:14 by ADMIN
Created by: Turk
Comments: 0
Category: PDFViewer
Type: Feature Request
0

Hello,

 

I use RadPdfViewer to view a PDF file in my WPF application, the PDF file has only one page and the contents are in the middle of the page, so I'm trying to zoom and focus on the middle of the page, I use the following code:

private void DocumentChanged(object sender, DocumentChangedEventArgs e)
        {
            pdfViewer.ScaleFactor = 1.3;
            var size = pdfViewer.Document.Pages[0].Size;
            pdfViewer.ScrollToVerticalOffset(size.Height * 0.3);
            pdfViewer.ScrollToHorizontalOffset(size.Width * 0.20);
        }

however, I only see the horizontal scroll working.

How can I zoom then scroll to vertical and horizontal offset?

Unplanned
Last Updated: 24 Apr 2023 12:13 by Boštjan
Implement getting the glyph sizes from the Adobe Font Metrics File Format Specification 
Unplanned
Last Updated: 27 Sep 2022 06:36 by Hartmut
Created by: Hartmut
Comments: 0
Category: PDFViewer
Type: Feature Request
1

From the PDF Specification: "An ink annotation represents a freehand “scribble” composed of one or more disjoint paths. When opened, it displays a pop-up window containing the text of the associated note."

Sometimes the Ink annotations are imported as UnsupportedAnnotation and not displayed as expected. In such cases, the annotations could be removed from the RadFixedPage content in the following manner:

foreach (RadFixedPage page in document.Pages)
{
	List<Annotation> inkAnnotations = page.Annotations.Where(a => a.Type == AnnotationType.Ink).ToList();
	foreach (Annotation inkAnnotation in inkAnnotations)
	{
		page.Annotations.Remove(inkAnnotation);
	}
}

Completed
Last Updated: 22 Sep 2022 11:22 by ADMIN
Release LIB 2022.3.926 (26 Sep 2022)
From the PDF specification: "The current stroking alpha constant, specifying the constant shape or constant opacity value to be used for stroking operations in the transparent imaging model."
Unplanned
Last Updated: 18 Aug 2022 14:14 by Jens
Created by: Jens
Comments: 0
Category: PDFViewer
Type: Feature Request
1
From PDF Specification: "The value of the field dictionary’s Ff entry is an unsigned 32-bit integer containing flags specifying various characteristics of the field. Bit positions within the flag word are numbered from 1 (low-order) to 32 (high-order)."

Field flags common to all field types: ReadOnlyRequiredNoExport.
Unplanned
Last Updated: 19 Apr 2022 12:45 by Dimitar
Implement editor functionalities like add, edit or delete content.
Unplanned
Last Updated: 08 Apr 2022 13:24 by Joe
When rendering PDF file with a TrueType font and Unicode platform Id (platformId: 0), glyphs are not obtained from CMAP table and are displayed with default rectangle placeholders.
Duplicated
Last Updated: 20 Sep 2022 12:15 by ADMIN
Created by: Jose Ramon
Comments: 0
Category: PDFViewer
Type: Feature Request
7
Scanned document is not rendered with the new engine
Unplanned
Last Updated: 23 Mar 2022 09:31 by Uma
Created by: Uma
Comments: 0
Category: PDFViewer
Type: Feature Request
2
This type of dictionary allows users to specify files and define different files for different systems or platforms.
Unplanned
Last Updated: 05 Jan 2022 11:06 by ADMIN
Currently, a NotSupportedException is thrown and handled internally. As a result, the image is missing from the page content.
Completed
Last Updated: 09 Jul 2021 06:37 by ADMIN
Release LIB 2021.2.712 (12 Jul 2021)

Handle import of documents containing Simple fonts with names of entries in the Encoding`s Differences that are not part of the Adobe Glyph List.

According to the PDF Specification (9.10.2 Mapping Character Codes to Unicode Values) if the name is not part of the list: If these methods fail to produce a Unicode value, there is no way to determine what the character code represents.

Unplanned
Last Updated: 10 Feb 2022 11:03 by ADMIN
Allow passing specific pages (e.g. "1, 4, 6") and more than one page range (e.g. "1-3, 6-7") to the print dialog`s Pages page range.
Completed
Last Updated: 14 Jun 2021 11:58 by ADMIN
Release R2 2021 SP1

The object definitions are split into several lines:

Unplanned
Last Updated: 20 Apr 2021 13:03 by ADMIN
When the document contains an invalid code space range in the embedded CMap table the CMap table is not correctly imported, which leads to wrong character mapping in the text selection.
Unplanned
Last Updated: 25 Mar 2021 07:55 by ADMIN

According to the PDF specification (Adobe® Portable Document Format Version 1.7):
Append a rectangle to the current path as a complete subpath, with lower-left corner (x, y) and dimensions width and height in user space.

The operation: 

x y width height re

An invalid case:

0 - 595 -842 re

This leads to an exception thrown: System.NullReferenceException: 'Object reference not set to an instance of an object.'

1 2 3 4 5 6