SpreadsheetOptions

SpreadsheetOptions class

Represents options which can be used to specify additional spreadsheets behavior.

SpreadsheetOptions

NameDescription
SpreadsheetOptions()Initializes a new instance of the SpreadsheetOptions class.

Returns: SpreadsheetOptions


getPreferredCulture

NameDescription
getPreferredCulture ()Gets or sets preferred culture information for calculating some functions intended for use with languages that use the double-byte character set (DBCS).

Returns: Locale


getRecoverWorkbookFromChartCache

NameDescription
getRecoverWorkbookFromChartCache ()If data source for the chart is an external workbook and it’s not available, it will be recovered from the chart cache.

Returns: boolean

Exception

ErrorCondition
InvalidOperationExceptionThrown when external workbook in unavailable and RecoverWorkbookFromChartCache property value is false.

setPreferredCulture

NameDescription
setPreferredCulture (Locale)Gets or sets preferred culture information for calculating some functions intended for use with languages that use the double-byte character set (DBCS).

Returns: void


setRecoverWorkbookFromChartCache

NameDescription
setRecoverWorkbookFromChartCache (boolean)If data source for the chart is an external workbook and it’s not available, it will be recovered from the chart cache.

Returns: void

Exception

ErrorCondition
InvalidOperationExceptionThrown when external workbook in unavailable and RecoverWorkbookFromChartCache property value is false.