Kindly refer the below UG documentation link to get more information on WTextFormField:
http://help.syncfusion.com/ug/wpf/Documents/text2.htm
Please let us know in case of any other questions.
Regards,
Divyalakshmi V
Hi Igor,
Kindly ignore our previous update.
Regarding Bookmark Navigator:
In order to meet your requirement with Bookmark navigator, the following steps are need to be follow in your sample.
1. Load the template document
2. Create a Bookmark navigator
3. Navigate to the corresponding bookmark which has the TextFormField.
4. Get the bookmark content as TextBodyPart using GetBookmarkContent() method of BookmarkNavigator.
5. Update TextFormField text by iterating the text form field from the TextBodyPart of the bookmark content.
6. Replace the bookmark content again to the document with updated TextBodyPart contents.
7. Save the Word document to the file system.
Currently we are having an ArgumentOutOfRange Exception issue with the above steps using BookmarkNavigator and the fix for this issue will be included in our 2015 Volume 2 release which will be available in end of June, 2015. In order to meet your requirement, kindly make use of FormFields collection from TextBody class to get and update the particular form field data into the Word document without using BookmarkNavigator which is more preferable compared to iterating the TextBodyPart items from BookmarkNavigator. We have prepared the sample to illustrate the same. Please do find the sample from the below link.
Sample link:
http://www.syncfusion.com/downloads/support/forum/119062/GenerateWord_WPF-735354883.zip
Please let us know in case of any other questions.
Regards,
Divyalakshmi V
Hi Igor,
Thank you for updating us.
Let us know if you have any other questions.
Regards,
Ayswarya