Office.GetSelectedDataOptions interface

Provides options for customizing what data is returned and how it is formatted.

Properties

asyncContext

A user-defined item of any type that is returned, unchanged, in the asyncContext property of the AsyncResult object that is passed to a callback.

filterType

Specify whether to get only the visible (that is, filtered-in) data or all the data. Useful when filtering data. Use Office.FilterType or string equivalent. This parameter is ignored in Word documents.

valueFormat

Specify whether the data is formatted. Use Office.ValueFormat or string equivalent.

Property Details

asyncContext

A user-defined item of any type that is returned, unchanged, in the asyncContext property of the AsyncResult object that is passed to a callback.

asyncContext?: any

Property Value

any

filterType

Specify whether to get only the visible (that is, filtered-in) data or all the data. Useful when filtering data. Use Office.FilterType or string equivalent. This parameter is ignored in Word documents.

filterType?: Office.FilterType | string

Property Value

valueFormat

Specify whether the data is formatted. Use Office.ValueFormat or string equivalent.

valueFormat?: Office.ValueFormat | string

Property Value