BarCodeGenerator
GenerateImage 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: 7.3.7.0 (7.3.7.9046)
Syntax
public Image GenerateImage(
Size barcodeSize
)
Public Function GenerateImage (
barcodeSize As Size
) As Image
public:
Image^ GenerateImage(
Size barcodeSize
)
member GenerateImage :
barcodeSize : Size -> Image
Parameters
-
barcodeSize
-
Type:
System.Drawing
Size
Return Value
Type:
Image
The generated barcode image.
Exceptions
Exception
|
Condition
|
BarCodeFormatException
|
If the data in the settings can't be rendered by the selected barcode.
|
See Also