Closed Banyc closed 1 year ago
There are a handful of properties currently not copiesd by CopyFrom
: https://github.com/UglyToad/PdfPig/blob/2df5ec9b1021b87fae6392a9b5e88c1d3ecfd4c7/src/UglyToad.PdfPig/Writer/PdfPageBuilder.cs#L594-L596
Maybe you could use AddPage as an alternative: https://github.com/UglyToad/PdfPig/blob/c74ca5fda8a51f3af9cf19c675272f57d3beee60/src/UglyToad.PdfPig/Writer/PdfMerger.cs#L140
I think this should be covered by AddPage
The source page (
page.Rotation == 90
) is in horizontal orientation. The new document generated fromPdfPageBuilder.CopyFrom
has a correct orientation in page size, but with a vertical-oriented content.The example code is in the following: