public static void Run()
{
// ExStart:GetFieldNames
Document doc = new Document();
// Shows how to get names of all merge fields in a document.
string[] fieldNames = doc.MailMerge.GetFieldNames();
// ExEnd:GetFieldNames
Console.WriteLine("\nDocument have " + fieldNames.Length + " fields.");
}
public static void MappedDataFields()