Office.GetFileOptions interface
Provides options for setting the size of slices that the document will be divided into.
Properties
async |
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. |
slice |
The size of the slices in bytes. The maximum (and the default) is 4194304 (4MB). |
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
sliceSize
The size of the slices in bytes. The maximum (and the default) is 4194304 (4MB).
sliceSize?: number
Property Value
number
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Office Add-ins