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: 65.0.19510.3242 (65.0.19510.3242)
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.3, 14.2, 14.1, 14.0, 12.5
See Also