Method FromDataUriScheme
| Improve this Doc View SourceFromDataUriScheme(string)
Declaration
public static DiscordImageData FromDataUriScheme(string dataUri)
Parameters
| Type | Name | Description |
|---|---|---|
| string | dataUri |
Returns
| Type | Description |
|---|---|
| DiscordImageData |
Exceptions
| Type | Condition |
|---|---|
| ArgumentException | Thrown if the given data URI is not a valid format. |
| ArgumentNullException |