officefileapi-devexpress-dot-barcodes-dot-barcode-a6d2314d.md
Gets the bar code image.
Namespace : DevExpress.BarCodes
Assembly : DevExpress.Docs.v25.2.dll
NuGet Package : DevExpress.Document.Processor
public DXBitmap BarCodeImage { get; }
Public ReadOnly Property BarCodeImage As DXBitmap
| Type | Description |
|---|---|
| DXBitmap |
The barcode image.
|
Use the BarCodeImage property to obtain the resulting bar code image. The bar code image is reset when any BarCode property is changed.
Note
Barcode export to WMF and EMF images is not available if you use the BarCode.BarCodeImage.Save method. Use the BarCode.Save method instead.
The following code snippets (auto-collected from DevExpress Examples) contain references to the BarCodeImage property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.
asp-net-web-forms-grid-display-barcode-in-column/CS/ASPxGridViewBarCode/Default.aspx.cs#L36
barCode.DpiY = 72;
return ImageToByte(barCode.BarCodeImage);
}
word-document-api-insert-inline-pictures/VB/InlinePictures/Program.vb#L45
Dim docFooter As SubDocument = doc.Sections(0).BeginUpdateFooter()
docFooter.Images.Append(barCode.BarCodeImage)
doc.Sections(0).EndUpdateFooter(docFooter)
asp-net-web-forms-grid-display-barcode-in-column/VB/ASPxGridViewBarCode/Default.aspx.vb#L42
barCode.DpiY = 72
Return ImageToByte(barCode.BarCodeImage)
End Function
See Also