BarCodeGeneratorGenerateImage Method (Size) |
Generates an image with the rendered barcode based on the settings (
IBarcodeSettings).
Namespace:
Spire.Barcode
Assembly:
Spire.Barcode (in Spire.Barcode.dll) Version: 5.9.4.0 (5.9.4.9040)
Syntaxpublic Image GenerateImage(
Size barcodeSize
)
Public Function GenerateImage (
barcodeSize As Size
) As Image
member GenerateImage :
barcodeSize : Size -> Image
Parameters
- barcodeSize
- Type: System.DrawingSize
Return Value
Type:
ImageThe generated barcode image.
Exceptions| Exception | Condition |
|---|
| BarCodeFormatException |
If the data in the settings can't be rendered by the selected barcode.
|
See Also