Skip to content

Commit

Permalink
Fix writing explicit XYZ coordinates
Browse files Browse the repository at this point in the history
  • Loading branch information
yufeih authored and BobLd committed Oct 28, 2023
1 parent 63096de commit 17d50f0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/UglyToad.PdfPig/Writer/PdfDocumentBuilder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -921,7 +921,8 @@ private static ArrayToken CreateExplicitDestinationToken(ExplicitDestination des
page,
NameToken.XYZ,
new NumericToken(destination.Coordinates.Left ?? 0),
new NumericToken(destination.Coordinates.Top ?? 0)
new NumericToken(destination.Coordinates.Top ?? 0),
new NumericToken(0)
});

case ExplicitDestinationType.FitPage:
Expand Down

0 comments on commit 17d50f0

Please sign in to comment.