Free Support Forum - aspose.com

Get PDF Field Location

Hi,
I’m using Aspose.Pdf.Kit 3.0. I don’t know how to get the PDF Field information such as: TextBox location, width and height.

Please help

Thanks
Thu

Hi Thu,

You can use GetFieldFacade method to get the FormFieldFacade object and then use Box property to get the height and width of the object, and Position property to get the position of the control. Box and Position properties belong to FormFieldFacade class.

If you don’t find these properties in 3.0 then I’m afraid you’ll have to use the latest version Aspose.Pdf.Kit for .NET 3.8.

If you have any further questions, please do let us know.
Regards,