Click or drag to resize
FieldUpdateCultureSource Enumeration
Indicates what culture to use during field update.

Namespace: Aspose.Words.Fields
Assembly: Aspose.Words (in Aspose.Words.dll) Version: 20.1
public enum FieldUpdateCultureSource
  Member nameValueDescription
CurrentThread0 The culture of the current execution thread is used to update fields.
FieldCode1 The culture specified in the field formatting properties via language setting is used.
Shows how to specify where the culture used for date formatting during field update and mail merge is chosen from.
// 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