Unplanned
Last Updated: 09 Apr 2024 05:57 by Tino

Steps to reproduce:

1. Load a PDF document with 0 pages

2. Enter some text in the search textbox and click the next/prev buttons

Expected: the search textbox should be either disabled or should ignore any search operation

Actual: an error occurs

Workaround:

    Private Sub pdf_Viewer_DocumentLoaded(sender As Object, e As EventArgs)
        If pdf_Viewer.Document.Pages.Count = 0 Then
            pdf_Toolbar.SearchTextBox.Enabled = False
            pdf_Toolbar.NextButton.Enabled = False
            pdf_Toolbar.PreviousButton.Enabled = False
        Else
            pdf_Toolbar.SearchTextBox.Enabled = True
            pdf_Toolbar.NextButton.Enabled = True
            pdf_Toolbar.PreviousButton.Enabled = True
        End If
    End Sub

 

Duplicated
Last Updated: 08 Aug 2024 10:37 by ADMIN
Created by: Mihajlo
Comments: 1
Category: PdfViewer
Type: Bug Report
0

The attached file lorem-ipsum.pdf is rendered incorrectly in PdfViewer. I suspect it has something to do with kerning, because monospace font is not affected. Adobe Acrobat, Foxit PDF Reader, and Chrome render the file correctly.

The file was created with Pandoc, open source software, converting a markdown file (.md) to .pdf.

Unplanned
Last Updated: 16 Aug 2024 08:46 by ADMIN
A specific scanned file is not displayed in the viewer. This lead to empry pages.
Duplicated
Last Updated: 10 Sep 2024 12:40 by ADMIN
Created by: Monique
Comments: 2
Category: PdfViewer
Type: Feature Request
0
Until the PDFViewer can support layers, it would be great if a property could be exposed that would allow the developer to detect if the PDF has layers so they can alert the viewer to the possibility that the layers may not be visible.