Home › Forums › .NET libraries › Xceed Words for .NET › How to get MergeFields from a document
Tagged: merge fields
And other Fields?
With DocX, I wasn’t able to get any of the merge fields directly, but I was able to simply replace their text, e.g.
document.ReplaceText("<<AMergeField>>", "replacement text")
which worked well enough for my purposes.