Outlines.Count = 0 on V 6.1.1.0 but on V 1.50.4000.0 it's = 14 #239
-
Hello, In my software I update PdfSharp from V 1.50.4000.0 to V 6.1.1.0. I open the document like this: PdfDocument pdf = PdfReader.Open(pdfPath, PdfDocumentOpenMode.Import);
pdf.Outlines.Count // = 0 |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
Beta Was this translation helpful? Give feedback.
-
Hi! https://docs.pdfsharp.net/General/Issue-Reporting/About.html |
Beta Was this translation helpful? Give feedback.
-
This will be fixed with PDFsharp 6.2.0. I cannot give an expected time of arrival (ETA) at the moment. If you want to fix this immediately, download 6.2.0 Preview 3 from GitHub and replace DestinationPage in file PdfOutline.cs with this code: /// <summary>
/// Gets or sets the destination page.
/// Can be null e.g. for named destinations.
/// </summary>
public PdfPage DestinationPage
{
get => _destinationPage!; // ?? NRT.ThrowOnNull<PdfPage>(); Can be null.
set => _destinationPage = value;
}
PdfPage? _destinationPage; |
Beta Was this translation helpful? Give feedback.
This will be fixed with PDFsharp 6.2.0. I cannot give an expected time of arrival (ETA) at the moment.
If you want to fix this immediately, download 6.2.0 Preview 3 from GitHub and replace DestinationPage in file PdfOutline.cs with this code: