|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.spire.barcode.BarCodeGenerator
public final class BarCodeGenerator
Operates on IBarCodeSettings
to provide barcode rendering and conversion services.
| Field Summary | |
|---|---|
static java.util.Properties |
properties
|
| Constructor Summary | |
|---|---|
BarCodeGenerator(IBarCodeSettings settings)
Creates a new instance of the BarCodeGeneratorclass. |
|
| Method Summary | |
|---|---|
static void |
copySettings(IBarCodeSettings srcSetting,
IBarCodeSettings settingsCopyTo)
Copy settings between IBarCodeSettings. |
java.awt.image.BufferedImage |
generateImage()
Generates an image with the rendered barcode based on the settings IBarCodeSettings. |
com.spire.ms.System.Drawing.Bitmap |
generateImage(java.awt.Dimension barcodeSize)
Generates an image with the rendered barcode based on the settings ( IBarCodeSettings). |
static SymbologyType |
getBarCodeType(BarCodeType barcodeType)
Instantiates the barcode type asked by the settings. |
void |
print()
Print BarcodeImage |
| Field Detail |
|---|
public static java.util.Properties properties
| Constructor Detail |
|---|
public BarCodeGenerator(IBarCodeSettings settings)
BarCodeGeneratorclass.
settings - The settings to use.
if - the settings passed are| Method Detail |
|---|
public java.awt.image.BufferedImage generateImage()
BarCodeFormatException - if the data in the settings can't be rendered by the selected barcode.public com.spire.ms.System.Drawing.Bitmap generateImage(java.awt.Dimension barcodeSize)
IBarCodeSettings).
barcodeSize -
BarCodeFormatException - if the data in the settings can't be rendered by the selected barcode.public static SymbologyType getBarCodeType(BarCodeType barcodeType)
barcodeType -
com.spire.ms.System.InvalidOperationException - If the settings contain an invalid barcode type.
public static void copySettings(IBarCodeSettings srcSetting,
IBarCodeSettings settingsCopyTo)
IBarCodeSettings.
srcSetting - Settings to copy from.settingsCopyTo - Settings to copy to.public void print()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||