Interface IRenditionItem
Is part of an IRendition.
Namespace: StylelabsStylelabs.MSdkStylelabs.M.Sdk.ContractsBase
Assembly: Stylelabs.M.Sdk.dll
Syntax
Remarks
Depending on the file type, there can be one or more rendition items. For example a PDF will have an item per page.
Properties
Href
Gets link to the rendition file.
Declaration
Property Value
| Type | Description |
|---|---|
| Uri |
Methods
DownloadAsync(string, bool)
Downloads the rendition item to a location on disk.
Declaration
Parameters
| Type | Name | Description |
|---|---|---|
| string | filePath |
The location to download the file to. |
| bool | overwrite |
If the file is allowed to be overwritten. |
Returns
| Type | Description |
|---|---|
| Task |
An awaitable . |
GetStreamAsync()
Gets a containing the contents of the rendition item.
Declaration
Returns
| Type | Description |
|---|---|
| Task<>Stream |
A containing the contents of the rendition item. |