[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.IWorkbook.Culture

Culture Property

Culture

Gets or sets the culture information of the workbook.

The returned culture affects culture-related features such as localized formatting and formula behavior. If no culture has been explicitly set, use the thread's current culture.

Declaration
CultureInfo Culture { get; set; }
Property Culture As CultureInfo
Examples
workbook.Culture = CultureInfo.GetCultureInfo("en-US");
worksheet.Range["A1"].Value = 43245.5922;
worksheet.Range["A1"].NumberFormat = "[$-x-sysdate]dddd, mmmm dd, yyyy";
string text = worksheet.Range["A1"].Text;
CultureInfo culture = workbook.Culture;