Is it possible to get the page size (to get the media size information .. a4, a3 and others ...) from a PDF file?
In the properties of the file is shown in millimeters (example: 210x297 mm).
I used the following code:
Dim ArquivoPdf As New PdfDocument
ArquivoPdf.LoadFromFile("filepdf.pdf")
Dim PaperSize As String = ArquivoPdf.PageSettings.Size.ToString
But it returns these values:
{Width=595, Height=842}
How to extract this information (210x297 mm) from the file using C # or VB?
Attached follows image of the properties screen and the desired information.
Right now, grateful