Analyzing your prompt, please hold on...
An error occurred while retrieving the results. Please refresh the page and try again.
What is this page about?
This page describes how to locate field properties in a document programmatically.
A field that is inserted using DocumentBuilder.InsertField returns a Field object. This is a faсade class that provides useful methods to quickly find some properties of a field.
The following code example shows how to find the field code and field result:
Note if you are only looking for the names of merge fields in a document, then you can instead use the built-in GetFieldNames method.
The following code example shows how to get names of all merge fields in a document:
Analyzing your prompt, please hold on...
An error occurred while retrieving the results. Please refresh the page and try again.