Interface IImageBase
Contains details about an image.
Namespace: StrixMusic.Sdk.BaseModels
Assembly: StrixMusic.Sdk.dll
Syntax
public interface IImageBase : ICollectionItemBase
Properties
| Improve this Doc View SourceHeight
The height of the image, if known. A hint to help render the image at the correct size.
Declaration
double? Height { get; }
Property Value
Type | Description |
---|---|
double? |
MimeType
The mime type of the image, if known. A hint to help optimize image rendering.
Declaration
string? MimeType { get; }
Property Value
Type | Description |
---|---|
string |
Width
The width of the image, if known. A hint to help render the image at the correct size.
Declaration
double? Width { get; }
Property Value
Type | Description |
---|---|
double? |
Methods
| Improve this Doc View SourceOpenStreamAsync()
Opens a stream to the image resource.
Declaration
Task<Stream> OpenStreamAsync()
Returns
Type | Description |
---|---|
Task<Stream> | A Task containing a Stream of the raw image resource. |