DocumentFieldOptions Property
Gets a FieldOptions object that represents options to control field handling in the document.

Namespace: Aspose.Words
Assembly: Aspose.Words (in Aspose.Words.dll) Version: 19.9
Syntax
public FieldOptions FieldOptions { get; }

Property Value

Type: FieldOptions
Examples
Shows how to specify where the culture used for date formatting during field update and mail merge is chosen from.
[C#]

// Set the culture used during field update to the culture used by the field.
doc.FieldOptions.FieldUpdateCultureSource = FieldUpdateCultureSource.FieldCode;
doc.MailMerge.Execute(new[] { "Date2" }, new object[] { new DateTime(2011, 1, 01) });
See Also