Skip to content

Outlines.Count = 0 on V 6.1.1.0 but on V 1.50.4000.0 it's = 14 #239

Closed Answered by ThomasHoevel
jonahammann asked this question in Q&A
Discussion options

You must be logged in to vote

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;

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@jonahammann
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by ThomasHoevel
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants