How to get Page size and orientation from PdfLoadedDocument
You can get the page size from the existing document using the “Size” property available in PdfLoadedPage class,
The below code snippet shows to get the page size from the PDF page.
Currently we don’t have any property to get document orientation. As a workaround to get the solution, please refer the code snippet below.
The runnable in the below link shows how to get the page size and orientation of the document.
|Article ID:||Published Date:||Last Revised Date:||Platform:||Control:|