Wrong Paper Sizes

Hi,
In the attached Helloworld.docx file, it has 2 paper sizes seperated by a page break. 1st page is a letter size and the 2nd page is a tabloid. When I execute the following code the 1st Papersize comes correctly but the 2nd paper comes as a Ledger type.

PageSetup setup = section.getPageSetup();
setup.getPaperSize();

This is wrong. Please help.
Regards
Yohan

Hi
Thanks for your request. LEDGER and TABLOID has the same size 11" x 17". I think information provided in the following forum thread could be useful for you.
https://forum.aspose.com/t/103718
Best regards.

Thank you very much. That solved my problem.
Yohan