Class RenditionItemBase
Base class for rendition items.
Inheritance
object
RenditionItemBase
Implements
Namespace: StylelabsStylelabs.MSdkStylelabs.M.Sdk.ModelsBase
Assembly: Stylelabs.M.Sdk.dll
Syntax
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. |
Implements
If you have suggestions for improving this article, let us know!