The CultureInfo property allows you to override the server's default locale when generating a new Word file. For example, to generate a US English document on a French operating system, you could use
CultureInfo to set the Word file's
System.Globalization.CultureInfo to US English.
CultureInfo to a
System.Globalization.CultureInfo object. This object represents information about a culture including its alphabet, calendar, and date formats. When setting
CultureInfo, import the
System.Globalization namespace to the ASP.NET page, for example, to import the namespace to a code-behind page, use:
CultureInfo must include both language and country (for example "fr-BE" for French-Belgium).
See System.Globalization.CultureInfo for more information about the class, its members, and a list of CultureInfo codes.