Spire.Doc is a professional Word .NET library specifically designed for developers to create, read, write, convert and print Word document files. Get free and professional technical support for Spire.Doc for .NET, Java, Android, C++, Python.

Tue Feb 13, 2018 6:44 am

Hi,
I am able to traverse through the FormFields in my .docx file using Spire.Doc and read the Text value in the form field. However, Is it possible to get the X,Y and Width, Height of the form field using Spire.Doc?
I am unable to find any relevant property in form field that can provide position related information.

rinku.thakur
 
Posts: 7
Joined: Wed Jan 31, 2018 11:07 am

Tue Feb 13, 2018 8:17 am

Hi,

Thanks for your inquiry.
Our Spire.Doc is based on MS Word structure. Kindly note MS Word is flow document and it doesn’t exist layout and page concept. Hence, it is not possible to get the X,Y coordinate of formfield. Besides, you also can't get the height and width of formfield using our Spire.doc as the height and width are automatically propped up by content and its font.

Sincerely,
Nina
E-iceblue support team
User avatar

Nina.Tang
 
Posts: 1182
Joined: Tue Sep 27, 2016 1:06 am

Tue Feb 13, 2018 9:12 am

Hi,
It's rather unfortunate for me, but Thank you for the quick response.

rinku.thakur
 
Posts: 7
Joined: Wed Jan 31, 2018 11:07 am

Tue Feb 13, 2018 9:17 am

Hello,

Thanks for your feedback.
Please feel free to contact us if you have other questions.

Sincerely,
Nina
E-iceblue support team
User avatar

Nina.Tang
 
Posts: 1182
Joined: Tue Sep 27, 2016 1:06 am

Return to Spire.Doc