Page tree
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 8 Next »


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.



Set 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.


  • No labels