Creates an icon from image data bytes. The data must be in PNG format.
Namespace: Spotfire.Dxp.Application.Extension
Assembly: Spotfire.Dxp.Application (in Spotfire.Dxp.Application.dll) Version: 69.0.21424.2902 (69.0.21424.2902)
Syntax
C#
public static ExtensionIcon FromBytes( byte[] bytes )
Parameters
- bytes
- Type: SystemByte
Image bytes.
Return Value
Type: ExtensionIconAn icon.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | Thrown if bytes is null. |
| ArgumentException | Thrown if the data is in an unsupported format. |
Version Information
Supported in: 14.7, 14.6, 14.5, 14.4, 14.3, 14.2, 14.1, 14.0, 12.5
See Also