Skip to main content

OfficeImage.GetImageBytes(OfficeImageFormat) Method

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

Namespace: DevExpress.Office.Utils

Assembly: DevExpress.Office.v26.1.Core.dll

NuGet Package: DevExpress.Office.Core

Declaration

public abstract byte[] GetImageBytes(
    OfficeImageFormat imageFormat
)

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