Skip to main content
All docs
V26.1
  • BarcodeGenerator.Export(String, Encoding, Stream, DXImageFormat) Method

    Exports a barcode image for the supplied text to a stream using the specified encoding and image format.

    Namespace: DevExpress.Docs.Barcode

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

    Declaration

    public void Export(
        string text,
        Encoding encoding,
        Stream stream,
        DXImageFormat format
    )

    Parameters

    Name Type Description
    text String

    The text to encode as a barcode.

    encoding Encoding

    The encoding to use for the text.

    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.

    See Also