Skip to main content
All docs
V26.1
  • BarcodeGenerator.ExportToImageAsync(Byte[], DXImageFormat) Method

    Asynchronously generates a barcode image for the specified binary data.

    Namespace: DevExpress.Docs.Barcode

    Assembly: DevExpress.Docs.Barcode.v26.1.dll

    Declaration

    [JavaExclude(null)]
    public Task<DXImage> ExportToImageAsync(
        byte[] binaryData,
        DXImageFormat format
    )

    Parameters

    Name Type Description
    binaryData Byte[]

    The binary data to encode as a barcode.

    format DXImageFormat

    The format of the generated image.

    Returns

    Type Description
    Task<DXImage>

    A task that represents the asynchronous operation. The result contains the generated barcode image.

    See Also