ImageUtils.GetImageType Method
Overloads
- ImageUtils.GetImageType(Byte[])
- ImageUtils.GetImageType(Stream)
- ImageUtils.GetImageType(Byte[], Int32)
ImageUtils.GetImageType(Byte[])
Returns the image type for a byte array.
Syntax
Namespace: FlexCel.Core
public static TXlsImgType GetImageType(Byte[] data)
Parameters
<-> | Parameter | Type | Description |
---|---|---|---|
data | Byte[] | Array with the image. |
Returns
Image type
See also
ImageUtils.GetImageType(Stream)
Returns the image type for a stream.
Syntax
Namespace: FlexCel.Core
public static TXlsImgType GetImageType(Stream st)
Parameters
<-> | Parameter | Type | Description |
---|---|---|---|
st | Stream | A stream. |
Returns
The image type.
See also
ImageUtils.GetImageType(Byte[], Int32)
Returns the image type for a byte array.
Syntax
Namespace: FlexCel.Core
public static TXlsImgType GetImageType(Byte[] data, Int32 position)
Parameters
<-> | Parameter | Type | Description |
---|---|---|---|
data | Byte[] | Array with the image. | |
position | Int32 | Position on data where the image begins. |
Returns
Image type