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

    Asynchronously exports a barcode image for the specified binary data to a stream, using the given image format.

    Namespace: DevExpress.Docs.Barcode

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

    Declaration

    [JavaExclude(null)]
    public Task ExportAsync(
        byte[] binaryData,
        Stream stream,
        DXImageFormat format = null
    )

    Parameters

    Name Type Description
    binaryData Byte[]

    The binary data to encode as a barcode.

    stream Stream

    The stream to which the barcode image will be written.

    Optional Parameters

    Name Type Default Description
    format DXImageFormat null

    (Optional) The image format for the exported barcode. If null, the default format is used.

    Returns

    Type Description
    Task

    A task that represents the asynchronous export operation.

    See Also