Excel.Interfaces.CustomPropertyData interface

An interface describing the data returned by calling customProperty.toJSON().

Properties

key

The key of the custom property. The key is limited to 255 characters outside of Excel on the web (larger keys are automatically trimmed to 255 characters on other platforms).

type

The type of the value used for the custom property.

value

The value of the custom property. The value is limited to 255 characters outside of Excel on the web (larger values are automatically trimmed to 255 characters on other platforms).

Property Details

key

The key of the custom property. The key is limited to 255 characters outside of Excel on the web (larger keys are automatically trimmed to 255 characters on other platforms).

key?: string;

Property Value

string

Remarks

[ API set: ExcelApi 1.7 ]

type

The type of the value used for the custom property.

type?: Excel.DocumentPropertyType | "Number" | "Boolean" | "Date" | "String" | "Float";

Property Value

Excel.DocumentPropertyType | "Number" | "Boolean" | "Date" | "String" | "Float"

Remarks

[ API set: ExcelApi 1.7 ]

value

The value of the custom property. The value is limited to 255 characters outside of Excel on the web (larger values are automatically trimmed to 255 characters on other platforms).

value?: any;

Property Value

any

Remarks

[ API set: ExcelApi 1.7 ]