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

    Generates a barcode image for the supplied text using the specified encoding.

    Namespace: DevExpress.Docs.Barcode

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

    Declaration

    public DXImage ExportToImage(
        string text,
        Encoding encoding
    )

    Parameters

    Name Type Description
    text String

    The text to encode as a barcode.

    encoding Encoding

    The encoding to use for the text.

    Returns

    Type Description
    DXImage

    The generated barcode image.

    See Also