Dear Support Team,
Guys,
Hi Sergey,<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />
Please accept our apologies for a delayed response.
I tried your sample code with the latest version and did not find any issue. I am getting PageNumber =1 and which is correct as per your template file (please see the screenshot for reference). Please try the latest version of Aspose.Pdf for .NET and if you still face the same issue, please create a sample application and post it here. This will help us figure out the issue.
Thank You & Best Regards,
Hi Aslam,
Aslam,
Hi Sergey,
Aspose.Pdf.Kit for .NET has been merged into Aspose.Pdf for .net and now you get the same set of features in Aspose.Pdf for .NET which were available in two different products.
Hi Sergey,
I am getting correct value from GetPageHeight method when tested with current latest version of Aspose.Pdf for .net.
//create PdfFileEditor object
PdfFileInfo pdfInfo = new PdfFileInfo("c:/input/Table.pdf");
MessageBox.Show("" + pdfInfo.GetPageHeight(1).ToString());
Hi,
Hi Sergey,
I am sorry I am unable to access the document that you have shared so I am unable to share my feedback over this matter.
I’ve attached it to my previous post.
Hi Sergey,<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />
Thank you for sharing the template file.
I am able to access your template file successfully. I am not very clear about your requirement. Are you facing some issue in PdfFileInfo GetPageHeight/GetPageWidth or FormFieldFacades.Box? Please share some details about your issue. This way we can test the issue properly and get back to you soon.
Sorry for the inconvenience,
Hi Aslam,
Hi Sergey,<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />
Thank you for sharing the details.
Actually, the value of fieldFacade.Box.Y is correct as the origin of the coordination is the lower-left corner of the page, so the Y coordinate of the name field from lower left corner is actually 638 (which is correct).
If you still have any confusion, please feel free to discuss.
Thank You & Best Regards,