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

    Generates a barcode image for the supplied text.

    Namespace: DevExpress.Docs.Barcode

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

    Declaration

    public DXImage ExportToImage(
        string text,
        DXImageFormat format = null
    )

    Parameters

    Name Type Description
    text String

    The text to encode as a barcode.

    Optional Parameters

    Name Type Default Description
    format DXImageFormat null

    The format of the generated image.

    Returns

    Type Description
    DXImage

    The generated barcode image.

    See Also