"There is no page numbered '0' in this document"

Hi,

I am evaluating the PDFViewer control for possible use in our product. 
One of my tests involves the ability to navigate to a bookmark (show that part of the PDF in the view) instead of only showing the entire page. 
I made a test program to load and display a PDF, show the available bookmarks, and navigate to the specified bookmark.
I see what seem to be valid bookmarks, but when I use the command 

pdfDocumentView1.GoToBookmark(currentlySelectedBookmark)

When I try to open -some- Siemens pdf I get the error message "There is no page numbered '0' in this document". although Adobe Reader DC finds it.
On other pdf files I see the error "This bookmark destination doesn't exist." (I included both pdf examples in the zip file)
What am I doing wrong?

Attachment: SyncfusionPDFTest_1_cleaned_eb650bbd.zip

3 Replies

DD Divya Dhayalan Syncfusion Team April 19, 2021 07:57 PM UTC

Hi Henk, 
 
We can reproduce the reported issues while using PdfDocumentView GoToBookmark method with the provided sample and PDF document. We are currently checking on this and we will update further details on 21st April 2021. 
 
Regards, 
Divya 



DD Divya Dhayalan Syncfusion Team April 21, 2021 04:33 PM UTC

Hi Henk, 
 
Thanks for your patience. 
 
Please find the below table for details, 
Issue 
Details 
“There is no page numbered '0' in this document” 
Pdf name: Prodave.pdf 
This issue in given document (Prodave.pdf) is sample level issue. We can fix this issue by passing valid PdfBookmark from the PdfLoadedDocument. We have attached the modified sample for your reference in the below link. 
Sample link: 
“This bookmark destination doesn't exist.” 
 
Pdf name: Low Pin Count Demo Board User's Guide.PDF 
We confirm that the issue “Bookmark navigation not working properly for the specific document” (Low Pin Count Demo Board User's Guide.PDF) is a defect in our side. The patch for this fix is expected to be available on May 12th, 2021 
  
Please find the feedback link below,   
 
Regards, 
Divya 



DD Divya Dhayalan Syncfusion Team May 12, 2021 03:11 PM UTC

Hi Henk, 
  
We appreciate your patience. 
 
We have fixed the reported issue “Bookmark navigation not working properly for the specific document” and the patch for this fix can be downloaded from the following location.  
 
Recommended approach - exe will perform automatic configuration  
Please find the patch setup from the below location: 
 
Advanced approach – use only if you have specific needs and can directly replace existing assemblies for your build environment 
Please find the patch assemblies alone from below location:  
 
NuGet: 
 
Assembly Version: 19.1.0.54 
 
Installation Directions:  
This patch should replace the file “Syncfusion.Pdf.Base.dll, Syncfusion.PdfViewer.Windows.dll” under the following folder.  
$system drive: \Files\Syncfusion\Essential Studio\$Version # \precompiledassemblies\$Version#\4.6  
Eg : $system drive:\Program Files\Syncfusion\Essential Studio\9.3.0.61\precompiledassemblies\9.3.0.61\4.0  
To automatically run the Assembly Manager, please check the Run assembly manager checkbox option while installing the patch. If this option is unchecked, the patch will replace the assemblies in precompiled assemblies’ folder only. Then, you will have to manually copy and paste them to the preferred location, or you will have to run the Syncfusion Assembly Manager application (available from the Syncfusion Dashboard, installed as a shortcut in the Application menu) to re-install assemblies.  
 
Note:  
You can change how you receive bug fixes by navigating to the following link and updating your preferences.  
  
Disclaimer:  
Please note that we have created this patch for version 19.1.0.54 specifically to resolve the following issue reported in this incident. 164596 
 
If you have received other patches for the same version for other products, please apply all patches in the order received. 
 
This fix will be included in our 2021 Volume 2 release which will be available in June 2021. 
 
Please find the feedback link below, 
 
Regards, 
Divya 


Loader.
Up arrow icon