PivotViewToJsonOptions
PivotViewToJsonOptions class
The options of exporting pivot view as json.
class PivotViewToJsonOptions;
Constructors
| Constructor | Description |
|---|---|
| constructor() | The options for exporting pivot view to JSON. |
Properties
| Property | Type | Description |
|---|---|---|
| fileName | string | Gets and sets the file which stores exported JSON. |
| indent | string | Indicates the indent. |
Methods
| Method | Description |
|---|---|
| getFileName() | @deprecated. Please use the ‘fileName’ property instead. Gets and sets the file which stores exported JSON. |
| setFileName(string) | @deprecated. Please use the ‘fileName’ property instead. Gets and sets the file which stores exported JSON. |
| getIndent() | @deprecated. Please use the ‘indent’ property instead. Indicates the indent. |
| setIndent(string) | @deprecated. Please use the ‘indent’ property instead. Indicates the indent. |
| isNull() | Checks whether the implementation object is null. |
constructor()
The options for exporting pivot view to JSON.
constructor();
fileName
Gets and sets the file which stores exported JSON.
fileName : string;
indent
Indicates the indent.
indent : string;
Remarks
If the indent is null or empty, the exported json is not formatted.
getFileName()
@deprecated. Please use the ‘fileName’ property instead. Gets and sets the file which stores exported JSON.
getFileName() : string;
setFileName(string)
@deprecated. Please use the ‘fileName’ property instead. Gets and sets the file which stores exported JSON.
setFileName(value: string) : void;
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | string | The value to set. |
getIndent()
@deprecated. Please use the ‘indent’ property instead. Indicates the indent.
getIndent() : string;
Remarks
If the indent is null or empty, the exported json is not formatted.
setIndent(string)
@deprecated. Please use the ‘indent’ property instead. Indicates the indent.
setIndent(value: string) : void;
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | string | The value to set. |
Remarks
If the indent is null or empty, the exported json is not formatted.
isNull()
Checks whether the implementation object is null.
isNull() : boolean;