ralfstuckert / pdfbox-layout

MIT License
155 stars 74 forks source link

Orientation of particular PDF getting changed from Landscape to Portrait after splitting using PdfBox #73

Open jit4peace opened 5 years ago

jit4peace commented 5 years ago

When I am splitting a PDF(with landscape orientation) that is extracted from crystal report, resulting in files with Portrait orientation with partial part getting removed.

The same file when opened in Internet Explorer and selected to print, detects orientation correctly.

Please share if there is any specific reason for such behavior and the way to handle it in coding.