OfficeScript.FileProperties interface
Note
This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
The file to download.
Properties
| content | The content of the file. |
| name | The name of the file once downloaded. The file extension determines the type of the file. Supported extensions are ".txt" and ".pdf". Default is ".txt". |
Property Details
content
Note
This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
The content of the file.
content: string;
Property Value
string
name
Note
This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
The name of the file once downloaded. The file extension determines the type of the file. Supported extensions are ".txt" and ".pdf". Default is ".txt".
name: string;
Property Value
string