BarcodeGenerator.ExportToImageAsync(String, DXImageFormat) Method
Asynchronously generates a barcode image for the specified text.
Namespace: DevExpress.Docs.Barcode
Assembly: DevExpress.Docs.Barcode.v26.1.dll
Declaration
[JavaExclude(null)]
public Task<DXImage> ExportToImageAsync(
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 |
|---|---|
| Task<DXImage> | A task that represents the asynchronous operation. The result contains the generated barcode image. |
See Also