public static void MoveToMergeField(string dataDir)
{
// ExStart:DocumentBuilderMoveToMergeField
Document doc = new Document(dataDir + "DocumentBuilder.doc");
DocumentBuilder builder = new DocumentBuilder(doc);
builder.MoveToMergeField("NiceMergeField");
builder.Writeln("This is a very nice merge field.");
// ExEnd:DocumentBuilderMoveToMergeField
}
}