Find Field Properties

Contents
[ ]

A field which is inserted using DocumentBuilder.InsertField returns a Field object. This is a facade class which provides useful methods to quickly find such 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 the document then you can instead use the built-in method GetFieldNames.

The following code example shows how to get names of all merge fields in a document.