-
Notifications
You must be signed in to change notification settings - Fork 63
/
office.slice.yml
51 lines (51 loc) · 1.45 KB
/
office.slice.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
### YamlMime:TSType
name: Office.Slice
uid: 'office!Office.Slice:interface'
package: office!
fullName: Office.Slice
summary: Represents a slice of a document file. The Slice object is accessed with the `File.getSliceAsync` method.
remarks: ''
isPreview: false
isDeprecated: false
type: interface
properties:
- name: data
uid: 'office!Office.Slice#data:member'
package: office!
fullName: data
summary: >-
Gets the raw data of the file slice in `Office.FileType.Text` or `Office.FileType.Compressed` format as specified
by the `fileType` parameter of the call to the `Document.getFileAsync` method.
remarks: >-
Files in the "compressed" format will return a byte array that can be transformed to a base64-encoded string if
required.
isPreview: false
isDeprecated: false
syntax:
content: 'data: any;'
return:
type: any
- name: index
uid: 'office!Office.Slice#index:member'
package: office!
fullName: index
summary: Gets the zero-based index of the file slice.
remarks: ''
isPreview: false
isDeprecated: false
syntax:
content: 'index: number;'
return:
type: number
- name: size
uid: 'office!Office.Slice#size:member'
package: office!
fullName: size
summary: Gets the size of the slice in bytes.
remarks: ''
isPreview: false
isDeprecated: false
syntax:
content: 'size: number;'
return:
type: number