.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+

OfficeImage.GetImageBytes(OfficeImageFormat) Method

Returns a byte array of image data encoded in the specified format.

Namespace: DevExpress.Office.Utils

Assembly: DevExpress.Office.v20.2.Core.dll

Declaration

public abstract byte[] GetImageBytes(
    OfficeImageFormat imageFormat
)
Public MustOverride Function GetImageBytes(
    imageFormat As OfficeImageFormat
) As Byte()

Parameters

Name Type Description
imageFormat OfficeImageFormat

An OfficeImageFormat enumeration member specifying the format of the resulting image data.

Returns

Type Description
Byte[]

A Byte array that contains the image data.

See Also