Fix writing explicit XYZ coordinates

This commit is contained in:
Yufei Huang
2023-10-28 16:37:01 +08:00
committed by BobLd
parent 63096de210
commit 17d50f071d

View File

@@ -921,7 +921,8 @@ namespace UglyToad.PdfPig.Writer
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: