|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.spire.barcode.implementation.generator.generation.BarcodeCreator
public class BarcodeCreator
BarcodeGenerator for backend Barcode images generation.
supported symbology: 1D: Codabar, Code11, Code128, Code39Standard, Code39Extended Code93Standard, Code93Extended, EAN13, EAN8, Interleaved2of5, MSI, Standard2of5, UPCA, UPCE, BooklandEAN, EAN128, Postnet, Planet EAN14, SCC14, SSCC18, ITF14, SingaporePost 2D: DataMatrix, PDf417, QR code
Constructor Summary | |
---|---|
BarcodeCreator()
BarcodeGenerator's constructer, default SymbologyType is Code128, default CodeText is 12345678 |
|
BarcodeCreator(java.lang.String CodeText)
BarcodeGenerator's constructer, default SymbologyType is Code128 |
|
BarcodeCreator(java.lang.String CodeText,
SymbologyType type)
BarcodeGenerator's constructer |
Method Summary | |
---|---|
void |
dispose()
Deprecated. |
com.spire.ms.System.Drawing.Bitmap |
generateBarcodeImage()
Generate the Barcode image under current settings |
boolean |
getAlwaysShowChecksum()
Always display checksum digit in the humanreadable text for Code128 and EAN128 Barcodes. |
float |
getAspectRatio()
2D Barcode's module's height/width ratio (yDimension/xDimension). |
AustraliaPostFormatControlCode |
getAustraliaPostFormatControlCode()
Australia Post symbology type of Barcode's FormatControlCode, default to AustraliaPostFormatControlCode.Standard" See AustraliaPostFormatControlCode. |
boolean |
getAutoSize()
Wether ajust image's size automatically. |
int |
getAztectErrorLevel()
Level of error corection of Aztect types of Barcode. |
com.spire.ms.System.Drawing.Color |
getBackColor()
Background color of the Barcode image See Color. |
com.spire.ms.System.Drawing.Bitmap |
getBarcodeImage()
|
CodeCaption |
getBarcodeImageCodeCaptionAbove()
|
float |
getBarHeight()
height of 1D Barcodes' bars. |
com.spire.ms.System.Drawing.Color |
getBorderColor()
Barcode Image's border's color See Color. |
BorderDashStyle |
getBorderDashStyle()
Barcode Image's border's style See BorderDashStyle. |
boolean |
getBorderVisible()
whether Barcode Image's border is visible See BarcodeCreator.getBorderWidth() . |
float |
getBorderWidth()
Barcode Image's border's width Default Graphics Unit: Millimeter See BarcodeCreator.getBorderVisible() . |
CodabarChar |
getCodabarStartSymbol()
Start symbol (character) of codabar symbology See BarcodeCreator.getCodabarStopSymbol() . |
CodabarChar |
getCodabarStopSymbol()
Stop symbol (character) of codabar symbology See BarcodeCreator.getCodabarStartSymbol() . |
Code128SetMode |
getCode128CodeSet()
|
CodeCaption |
getCodeCaptionAbove()
CodeCaption Above the Barcode image. |
CodeCaption |
getCodeCaptionBelow()
CodeCaption Below the Barcode image. |
CodeCaption |
getCodeCaptionLogoImage()
|
java.lang.String |
getCodeText()
Data to be encoded, different types of Barcode may have different CodeText length restrictions See BarcodeCreator.getEnableEscape() . |
StringAlignment |
getCodeTextAlignment()
Gets the alignment of the code text. |
com.spire.ms.System.Drawing.Color |
getCodeTextColor()
Specify the displaying CodeText's Color See BarcodeCreator.getCodeText() . |
com.spire.ms.System.Text.Encoding |
getCodeTextEncoding()
Gets the encoding of codetext. |
com.spire.ms.System.Drawing.Font |
getCodeTextFont()
Specify the displaying CodeText's font See BarcodeCreator.getCodeText() . |
float |
getCodeTextSpace()
Space between the CodeText and the Barcode. |
int |
getColumns()
2D Barcode's columns, if setting is illegal then columns will be calculated automatically appliable SymbologyType: Pdf417 |
com.spire.ms.System.Drawing.Bitmap |
getCustomSizeBarCodeImage(com.spire.ms.System.Drawing.Size customBarCodeSize,
boolean allowSpaceAround)
Gets the scaled barcode image. |
DataMatrixEncodeMode |
getDataMatrixEncodeMode()
Encode mode of Datamatrix Barcode, default to Auto DataMatrixEncodeMode . |
java.lang.String |
getDisplay2DText()
Gets the text will displayed on the Barcode's image. |
EAN128EncodeMode |
getEAN128EncodeMode()
|
EnableChecksum |
getEnableChecksum()
|
boolean |
getEnableEscape()
Indicates whether explains the character "\" as an escape character in CodeText property. |
com.spire.ms.System.Drawing.Color |
getForeColor()
Foreground color of the Barcode image, that is, Bar's color of 1D Barcode, Module's color of 2D Barcode See Color. |
GraphicsUnit |
getGraphicsUnit()
Measurement of various properties such as Width, Height etc. |
float |
getImageHeight()
Barcode image's height See BarcodeCreator.getAutoSize() ., if AutoSize is true, ImageHeight will
be increased accordingly
Default Graphics Unit: Millimeter |
ImageQualityMode |
getImageQuality()
Graphics quality mode, when RotationAngleF not equal to 0, 90, 180 or 270, do set quality mode to anti-alias. |
float |
getImageWidth()
Barcode image's width See BarcodeCreator.getAutoSize() , if AutoSize is true, ImageWidth will
be increased accordingly
Default Graphics Unit: Millimeter |
ITF14BorderType |
getITF14BorderType()
Border type of ITF14 Barcode, quiet zone will be determined by margin settings. |
int |
getMacroPdf417FileID()
Gets macro pdf417 Barcode's file ID. |
int |
getMacroPdf417SegmentID()
Gets macro pdf417 Barcode's segment ID, which starts from 0, to MacroPdf417SegmentCount - 1. |
int |
getMacroPdf417SegmentsCount()
Gets whether this macro pdf417 Barcode is the last segment. |
MarginsF |
getMargins()
Margin area around the core Barcode image If AutoSize is false, then Width and Height is fixed, thus Margins setting will be ignored Default Graphics Unit: Millimeter |
Pdf417DataMode |
getPdf417CompactionMode()
Pdf417 symbology type of Barcode's compaction mode, default compaction mode is |
Pdf417ECL |
getPdf417ErrorLevel()
Gets Pdf417 symbology type of Barcode's error coccrection level ranging from level0 to level8, level0 means no error correction info, level8 means best error correction which means a larger picture |
boolean |
getPdf417Truncate()
whether pdf417 symbology type of Barcode is truncated (to reduce space) |
float |
getPlanetShortBarHeight()
Short bar's height of Planet Barcode, it has to be between 1 millimeter and 1.5 milimeters. |
float |
getPostnetShortBarHeight()
Short bar's height of Postnet Barcode, it has to be between 1 millimeter and 1.5 milimeter (0.04 inch and 0.06 inch). |
java.lang.String |
getPrinterName()
Choose printer, if not specified, Print() method will choose the first available printer |
QRCodeDataMode |
getQREncodeMode()
QR symbology type of Barcode's encoding mode, default mode is |
QRCodeECL |
getQRErrorLevel()
Level of Reed-Solomon error correction for QR Barcode. |
Resolution |
getResolution()
Gets the resolution of the Barcode image See Resolution . |
float |
getRotationAngleF()
Barcode image's rotation angle, measured in degree, e.g. |
int |
getRows()
2D Barcode's rows, if setting is illegal then rows will be calculated automatically. |
java.lang.String |
getSupplementData()
Supplement data following Barcodes of symbology UPCA, UPCE, EAN13, EAN8, BooklandEAN, Interleaved2of5 or Standard2of5. |
float |
getSupplementSpace()
Space between main the Barcode and supplement Barcode, default Graphics Unit: millimeter See GraphicsUnit. |
SymbologyType |
getSymbologyType()
Barcode's symbology, type: Spire.Barcode.SymbologyType See SymbologyType. |
TextLocation |
getTextLocation()
Specify the displaying CodeText's Location, set to TextLocation.None to hide CodeText. |
TextRenderingHint |
getTextRenderingHint()
Specifies the quality of text rendering. |
boolean |
getThrowExceptionWhenCodeTextIncorrect()
Only for 1D barcodes. |
float |
getWideNarrowRatio()
Wide bars to Narrow bars ratio for some 1D Barcode. |
float |
getXPos()
x-dimension, smallest width unit of Barcode's bars or spaces. |
float |
getYPos()
y-dimension, smallest height unit of 2D Barcode's modules. |
void |
insertWatermark()
|
void |
print()
Print BarcodeImage See BarcodeCreator.getPrinterName() . |
void |
rotate()
Rotate Barcode image clockwise for 90 degrees |
void |
rotate(float angle)
Rotate Barcode image clockwise |
void |
rotate(RotationDirection direction,
float angle)
Rotate the Barcode image |
void |
save(com.spire.ms.System.IO.Stream stream,
BarcodeImageFormat format)
Save BarcodeImage to stream in specific format |
void |
save(com.spire.ms.System.IO.Stream stream,
com.spire.ms.System.Drawing.Imaging.ImageFormat format)
Save BarcodeImage to specific file in specific format |
void |
save(java.lang.String filename)
Save BarcodeImage to specific file in specific format |
void |
save(java.lang.String filename,
BarcodeImageFormat format)
Save BarcodeImage to specific file in specific format |
void |
save(java.lang.String filename,
com.spire.ms.System.Drawing.Imaging.ImageFormat format)
Save BarcodeImage to specific file in specific format |
void |
saveAsEmf(com.spire.ms.System.IO.Stream stream)
Save the Barcode as Emf to stream. |
void |
saveAsEmf(java.lang.String fileName)
Save the Barcode as Emf file using given file name. |
void |
setAlwaysShowChecksum(boolean value)
Always display checksum digit in the humanreadable text for Code128 and EAN128 Barcodes. |
void |
setAspectRatio(float value)
2D Barcode's module's height/width ratio (yDimension/xDimension). |
void |
setAustraliaPostFormatControlCode(AustraliaPostFormatControlCode value)
Australia Post symbology type of Barcode's FormatControlCode, default to AustraliaPostFormatControlCode.Standard" See AustraliaPostFormatControlCode. |
void |
setAutoSize(boolean value)
Wether ajust image's size automatically. |
void |
setAztectErrorLevel(int value)
Level of error corection of Aztect types of Barcode. |
void |
setBackColor(com.spire.ms.System.Drawing.Color value)
Background color of the Barcode image See Color. |
void |
setBarHeight(float value)
height of 1D Barcodes' bars. |
void |
setBinaryCodeText(byte[] codeText)
Set the data to be encoded. |
void |
setBorderColor(com.spire.ms.System.Drawing.Color value)
Barcode Image's border's color See Color. |
void |
setBorderDashStyle(BorderDashStyle value)
Barcode Image's border's style See BorderDashStyle. |
void |
setBorderVisible(boolean value)
whether Barcode Image's border is visible See BarcodeCreator.getBorderWidth() . |
void |
setBorderWidth(float value)
Barcode Image's border's width Default Graphics Unit: Millimeter See BarcodeCreator.getBorderVisible() . |
void |
setCodabarStartSymbol(CodabarChar value)
Start symbol (character) of codabar symbology See BarcodeCreator.getCodabarStopSymbol() . |
void |
setCodabarStopSymbol(CodabarChar value)
Stop symbol (character) of codabar symbology See BarcodeCreator.getCodabarStartSymbol() . |
void |
setCode128CodeSet(Code128SetMode value)
|
void |
setCodeCaptionAbove(CodeCaption value)
CodeCaption Above the Barcode image. |
void |
setCodeCaptionBelow(CodeCaption value)
CodeCaption Below the Barcode image. |
void |
setCodeCaptionLogoImage(CodeCaption _logoCodeCaption)
|
void |
setCodeText(java.lang.String value)
Data to be encoded, different types of Barcode may have different CodeText length restrictions See BarcodeCreator.getEnableEscape() . |
void |
setCodeTextAlignment(StringAlignment value)
Sets the alignment of the code text. |
void |
setCodeTextColor(com.spire.ms.System.Drawing.Color value)
Specify the displaying CodeText's Color See BarcodeCreator.getCodeText() . |
void |
setCodeTextEncoding(com.spire.ms.System.Text.Encoding value)
Sets the encoding of codetext. |
void |
setCodeTextFont(com.spire.ms.System.Drawing.Font value)
Specify the displaying CodeText's font See BarcodeCreator.getCodeText() . |
void |
setCodeTextSpace(float value)
Space between the CodeText and the Barcode. |
void |
setColumns(int value)
2D Barcode's columns, if setting is illegal then columns will be calculated automatically appliable SymbologyType: Pdf417 |
void |
setDataMatrixEncodeMode(DataMatrixEncodeMode value)
Encode mode of Datamatrix Barcode, default to Auto DataMatrixEncodeMode . |
void |
setDisplay2DText(java.lang.String value)
Sets the text will displayed on the Barcode's image. |
void |
setEnableChecksum(EnableChecksum value)
|
void |
setEnableEscape(boolean value)
Indicates whether explains the character "\" as an escape character in CodeText property. |
void |
setForeColor(com.spire.ms.System.Drawing.Color value)
Foreground color of the Barcode image, that is, Bar's color of 1D Barcode, Module's color of 2D Barcode See Color. |
void |
setGraphicsUnit(GraphicsUnit value)
Measurement of various properties such as Width, Height etc. |
void |
setImageHeight(float value)
Barcode image's height See BarcodeCreator.getAutoSize() ., if AutoSize is true, ImageHeight will
be increased accordingly
Default Graphics Unit: Millimeter |
void |
setImageQuality(ImageQualityMode value)
Graphics quality mode, when RotationAngleF not equal to 0, 90, 180 or 270, do set quality mode to anti-alias. |
void |
setImageWidth(float value)
Barcode image's width See BarcodeCreator.getAutoSize() , if AutoSize is true, ImageWidth will
be increased accordingly
Default Graphics Unit: Millimeter |
void |
setITF14BorderType(ITF14BorderType value)
Border type of ITF14 Barcode, quiet zone will be determined by margin settings. |
void |
setMacroPdf417FileID(int value)
Sets macro pdf417 Barcode's file ID. |
void |
setMacroPdf417SegmentID(int value)
Sets macro pdf417 Barcode's segment ID, which starts from 0, to MacroPdf417SegmentCount - 1. |
void |
setMacroPdf417SegmentsCount(int value)
Sets whether this macro pdf417 Barcode is the last segment. |
void |
setPdf417CompactionMode(Pdf417DataMode value)
Pdf417 symbology type of Barcode's compaction mode, default compaction mode is |
void |
setPdf417ErrorLevel(Pdf417ECL value)
Sets Pdf417 symbology type of Barcode's error coccrection level ranging from level0 to level8, level0 means no error correction info, level8 means best error correction which means a larger picture |
void |
setPdf417Truncate(boolean value)
whether pdf417 symbology type of Barcode is truncated (to reduce space) |
void |
setPlanetShortBarHeight(float value)
Short bar's height of Planet Barcode, it has to be between 1 millimeter and 1.5 milimeters. |
void |
setPostnetShortBarHeight(float value)
Short bar's height of Postnet Barcode, it has to be between 1 millimeter and 1.5 milimeter (0.04 inch and 0.06 inch). |
void |
setPrinterName(java.lang.String value)
Choose printer, if not specified, Print() method will choose the first available printer |
void |
setQREncodeMode(QRCodeDataMode value)
QR symbology type of Barcode's encoding mode, default mode is |
void |
setQRErrorLevel(QRCodeECL value)
Level of Reed-Solomon error correction for QR Barcode. |
void |
setResolution(Resolution value)
Sets the resolution of the Barcode image |
void |
setRotationAngleF(float value)
Barcode image's rotation angle, measured in degree, e.g. |
void |
setRows(int value)
2D Barcode's rows, if setting is illegal then rows will be calculated automatically. |
void |
setSupplementData(java.lang.String value)
Supplement data following Barcodes of symbology UPCA, UPCE, EAN13, EAN8, BooklandEAN, Interleaved2of5 or Standard2of5. |
void |
setSupplementSpace(float value)
Space between main the Barcode and supplement Barcode, default Graphics Unit: millimeter See GraphicsUnit. |
void |
setSymbologyType(SymbologyType value)
Barcode's symbology, type: Spire.Barcode.SymbologyType See SymbologyType. |
void |
setTextLocation(TextLocation value)
Specify the displaying CodeText's Location, set to TextLocation.None to hide CodeText. |
void |
setTextRenderingHint(TextRenderingHint value)
Specifies the quality of text rendering. |
void |
setThrowExceptionWhenCodeTextIncorrect(boolean value)
Only for 1D barcodes. |
void |
setWideNarrowRatio(float value)
Wide bars to Narrow bars ratio for some 1D Barcode. |
void |
setXPos(float value)
x-dimension, smallest width unit of Barcode's bars or spaces. |
void |
setYPos(float value)
y-dimension, smallest height unit of 2D Barcode's modules. |
java.lang.String |
toString()
overried to string method |
Constructor Detail |
---|
public BarcodeCreator()
public BarcodeCreator(java.lang.String CodeText)
CodeText
- string text data to be encodedpublic BarcodeCreator(java.lang.String CodeText, SymbologyType type)
CodeText
- string text data to be encodedtype
- Barcode's type: Spire.Barcode.SymbologyTypeMethod Detail |
---|
public CodeCaption getBarcodeImageCodeCaptionAbove()
public SymbologyType getSymbologyType()
public void setSymbologyType(SymbologyType value)
public java.lang.String getCodeText()
BarcodeCreator.getEnableEscape()
.
See BarcodeCreator.getCodeTextFont()
.
See BarcodeCreator.getCodeTextColor()
.
See TextLocation
.
See BarcodeCreator.getCodeTextSpace()
.
See BarcodeCreator.getCodeTextAlignment()
.
public void setCodeText(java.lang.String value)
BarcodeCreator.getEnableEscape()
.
See BarcodeCreator.getCodeTextFont()
.
See BarcodeCreator.getCodeTextColor()
.
See TextLocation
.
See BarcodeCreator.getCodeTextSpace()
.
See BarcodeCreator.getCodeTextAlignment()
.
public void setBinaryCodeText(byte[] codeText)
codeText
- public java.lang.String getDisplay2DText()
public void setDisplay2DText(java.lang.String value)
value
- The text to display.public com.spire.ms.System.Text.Encoding getCodeTextEncoding()
public void setCodeTextEncoding(com.spire.ms.System.Text.Encoding value)
value
- The encoding for codetext.public boolean getEnableEscape()
BarcodeCreator.getCodeText()
.
public void setEnableEscape(boolean value)
BarcodeCreator.getCodeText()
.
public com.spire.ms.System.Drawing.Font getCodeTextFont()
BarcodeCreator.getCodeText()
.
See Font.
See BarcodeCreator.getCodeTextColor()
.
See TextLocation
.
See BarcodeCreator.getCodeTextSpace()
.
See BarcodeCreator.getCodeTextAlignment()
.
public void setCodeTextFont(com.spire.ms.System.Drawing.Font value)
BarcodeCreator.getCodeText()
.
See Font.
See BarcodeCreator.getCodeTextColor()
.
See TextLocation
.
See BarcodeCreator.getCodeTextSpace()
.
See BarcodeCreator.getCodeTextAlignment()
.
public com.spire.ms.System.Drawing.Color getCodeTextColor()
BarcodeCreator.getCodeText()
.
See BarcodeCreator.getCodeTextFont()
.
See TextLocation
.
See BarcodeCreator.getCodeTextSpace()
.
See BarcodeCreator.getCodeTextAlignment()
.
public void setCodeTextColor(com.spire.ms.System.Drawing.Color value)
BarcodeCreator.getCodeText()
.
See BarcodeCreator.getCodeTextFont()
.
See TextLocation
.
See BarcodeCreator.getCodeTextSpace()
.
See BarcodeCreator.getCodeTextAlignment()
.
public TextLocation getTextLocation()
BarcodeCreator.getCodeText()
.
See BarcodeCreator.getCodeTextFont()
.
See BarcodeCreator.getCodeTextSpace()
.
See BarcodeCreator.getCodeTextColor()
.
See BarcodeCreator.getCodeTextAlignment()
.
public void setTextLocation(TextLocation value)
BarcodeCreator.getCodeText()
.
See BarcodeCreator.getCodeTextFont()
.
See BarcodeCreator.getCodeTextSpace()
.
See BarcodeCreator.getCodeTextColor()
.
See BarcodeCreator.getCodeTextAlignment()
.
public StringAlignment getCodeTextAlignment()
BarcodeCreator.getCodeText()
.
See BarcodeCreator.getCodeTextFont()
.
See BarcodeCreator.getCodeTextColor()
.
See BarcodeCreator.getCodeTextSpace()
.
public void setCodeTextAlignment(StringAlignment value)
value
- See StringAlignment.
See BarcodeCreator.getCodeText()
.
See BarcodeCreator.getCodeTextFont()
.
See BarcodeCreator.getCodeTextColor()
.
See BarcodeCreator.getCodeTextSpace()
.
public float getRotationAngleF()
public void setRotationAngleF(float value)
public CodeCaption getCodeCaptionAbove()
CodeCaption
.
CodeCaptionAbove contains the following properties:
CodeCaptionAbove.Font,
CodeCaptionAbove.ForeColor,
CodeCaptionAbove.Space,
CodeCaptionAbove.Visible,
CodeCaptionAbove.Text,
CodeCaptionAbove.TextAlign
public void setCodeCaptionAbove(CodeCaption value)
CodeCaption
.
CodeCaptionAbove contains the following properties:
CodeCaptionAbove.Font,
CodeCaptionAbove.ForeColor,
CodeCaptionAbove.Space,
CodeCaptionAbove.Visible,
CodeCaptionAbove.Text,
CodeCaptionAbove.TextAlign
public CodeCaption getCodeCaptionBelow()
CodeCaption
.
CodeCaptionBelow contains the following properties:
CodeCaptionBelow.Font,
CodeCaptionBelow.ForeColor,
CodeCaptionBelow.Space,
CodeCaptionBelow.Visible,
CodeCaptionBelow.Text,
CodeCaptionBelow.TextAlign
public void setCodeCaptionBelow(CodeCaption value)
CodeCaption
.
CodeCaptionBelow contains the following properties:
CodeCaptionBelow.Font,
CodeCaptionBelow.ForeColor,
CodeCaptionBelow.Space,
CodeCaptionBelow.Visible,
CodeCaptionBelow.Text,
CodeCaptionBelow.TextAlign
public GraphicsUnit getGraphicsUnit()
public void setGraphicsUnit(GraphicsUnit value)
public Resolution getResolution()
Resolution
.
public void setResolution(Resolution value)
value
- See Resolution
.public java.lang.String getPrinterName()
public void setPrinterName(java.lang.String value)
public ImageQualityMode getImageQuality()
ImageQualityMode
.
public void setImageQuality(ImageQualityMode value)
ImageQualityMode
.
public TextRenderingHint getTextRenderingHint()
public void setTextRenderingHint(TextRenderingHint value)
public boolean getAutoSize()
public void setAutoSize(boolean value)
public float getImageWidth()
BarcodeCreator.getAutoSize()
, if AutoSize is true, ImageWidth will
be increased accordingly
Default Graphics Unit: Millimeter
public void setImageWidth(float value)
BarcodeCreator.getAutoSize()
, if AutoSize is true, ImageWidth will
be increased accordingly
Default Graphics Unit: Millimeter
public float getImageHeight()
BarcodeCreator.getAutoSize()
., if AutoSize is true, ImageHeight will
be increased accordingly
Default Graphics Unit: Millimeter
public void setImageHeight(float value)
BarcodeCreator.getAutoSize()
., if AutoSize is true, ImageHeight will
be increased accordingly
Default Graphics Unit: Millimeter
public float getBorderWidth()
BarcodeCreator.getBorderVisible()
.
See BorderDashStyle
.
See BarcodeCreator.getBorderColor()
.
public void setBorderWidth(float value)
BarcodeCreator.getBorderVisible()
.
See BorderDashStyle
.
See BarcodeCreator.getBorderColor()
.
public float getXPos()
GDIVisualParametersBase.yDimension
,
BarcodeCreator.getAutoSize()
,
BarcodeCreator.getBarHeight()
public void setXPos(float value)
GDIVisualParametersBase.yDimension
,
BarcodeCreator.getAutoSize()
,
BarcodeCreator.getBarHeight()
public float getYPos()
In 2D Barcode, y-dimension * rows determines Barcode's height In 1D Barcode, BarHeight determines Barcode's height. Default Graphics Unit: Millimeter
GDIVisualParametersBase.xDimension
,
BarcodeCreator.getBarHeight()
public void setYPos(float value)
In 2D Barcode, y-dimension * rows determines Barcode's height In 1D Barcode, BarHeight determines Barcode's height. Default Graphics Unit: Millimeter
GDIVisualParametersBase.xDimension
,
BarcodeCreator.getBarHeight()
public float getBarHeight()
GDIVisualParametersBase.yDimension
public void setBarHeight(float value)
GDIVisualParametersBase.yDimension
public float getAspectRatio()
Some 2D Barcodes are square shaped, then AspectRatio is not appliable
public void setAspectRatio(float value)
Some 2D Barcodes are square shaped, then AspectRatio is not appliable
public MarginsF getMargins()
public float getSupplementSpace()
BarcodeCreator.getSupplementData()
.
public void setSupplementSpace(float value)
BarcodeCreator.getSupplementData()
.
public float getPostnetShortBarHeight()
GraphicsUnit
.
see setting tall bar's height: See BarcodeCreator.getBarHeight()
.
public void setPostnetShortBarHeight(float value)
GraphicsUnit
.
see setting tall bar's height: See BarcodeCreator.getBarHeight()
.
public float getPlanetShortBarHeight()
GraphicsUnit
.
see setting tall bar's height: See BarcodeCreator.getBarHeight()
}.
public void setPlanetShortBarHeight(float value)
GraphicsUnit
.
see setting tall bar's height: See BarcodeCreator.getBarHeight()
}.
public float getCodeTextSpace()
BarcodeCreator.getCodeText()
.
See TextLocation
.
See BarcodeCreator.getCodeTextFont()
.
See BarcodeCreator.getCodeTextColor()
.
See BarcodeCreator.getCodeTextAlignment()
.
public void setCodeTextSpace(float value)
BarcodeCreator.getCodeText()
.
See TextLocation
.
See BarcodeCreator.getCodeTextFont()
.
See BarcodeCreator.getCodeTextColor()
.
See BarcodeCreator.getCodeTextAlignment()
.
public com.spire.ms.System.Drawing.Bitmap getBarcodeImage()
public boolean getBorderVisible()
BarcodeCreator.getBorderWidth()
.
See BorderDashStyle
.
See BarcodeCreator.getBorderColor()
.
public void setBorderVisible(boolean value)
BarcodeCreator.getBorderWidth()
.
See BorderDashStyle
.
See BarcodeCreator.getBorderColor()
.
public com.spire.ms.System.Drawing.Color getBorderColor()
BarcodeCreator.getBorderWidth()
.
See BarcodeCreator.getBorderVisible()
.
See BarcodeCreator.getBorderDashStyle()
public void setBorderColor(com.spire.ms.System.Drawing.Color value)
BarcodeCreator.getBorderWidth()
.
See BarcodeCreator.getBorderVisible()
.
See BarcodeCreator.getBorderDashStyle()
public BorderDashStyle getBorderDashStyle()
BarcodeCreator.getBorderWidth()
}.
See BarcodeCreator.getBorderVisible()
.
See BarcodeCreator.getBorderColor()
.
public void setBorderDashStyle(BorderDashStyle value)
BarcodeCreator.getBorderWidth()
}.
See BarcodeCreator.getBorderVisible()
.
See BarcodeCreator.getBorderColor()
.
public CodabarChar getCodabarStartSymbol()
BarcodeCreator.getCodabarStopSymbol()
.
See CodabarChar.
public void setCodabarStartSymbol(CodabarChar value)
BarcodeCreator.getCodabarStopSymbol()
.
See CodabarChar.
public CodabarChar getCodabarStopSymbol()
BarcodeCreator.getCodabarStartSymbol()
.
See CodabarChar.
public void setCodabarStopSymbol(CodabarChar value)
BarcodeCreator.getCodabarStartSymbol()
.
See CodabarChar.
public Code128SetMode getCode128CodeSet()
public void setCode128CodeSet(Code128SetMode value)
public EAN128EncodeMode getEAN128EncodeMode()
public AustraliaPostFormatControlCode getAustraliaPostFormatControlCode()
public void setAustraliaPostFormatControlCode(AustraliaPostFormatControlCode value)
public ITF14BorderType getITF14BorderType()
public void setITF14BorderType(ITF14BorderType value)
public com.spire.ms.System.Drawing.Color getForeColor()
public void setForeColor(com.spire.ms.System.Drawing.Color value)
public com.spire.ms.System.Drawing.Color getBackColor()
public void setBackColor(com.spire.ms.System.Drawing.Color value)
public EnableChecksum getEnableChecksum()
public void setEnableChecksum(EnableChecksum value)
public boolean getThrowExceptionWhenCodeTextIncorrect()
public void setThrowExceptionWhenCodeTextIncorrect(boolean value)
public int getColumns()
public void setColumns(int value)
public int getRows()
public void setRows(int value)
public DataMatrixEncodeMode getDataMatrixEncodeMode()
DataMatrixEncodeMode
.
public void setDataMatrixEncodeMode(DataMatrixEncodeMode value)
DataMatrixEncodeMode
.
public Pdf417DataMode getPdf417CompactionMode()
public void setPdf417CompactionMode(Pdf417DataMode value)
public boolean getPdf417Truncate()
public void setPdf417Truncate(boolean value)
public Pdf417ECL getPdf417ErrorLevel()
public void setPdf417ErrorLevel(Pdf417ECL value)
value
- public int getMacroPdf417SegmentsCount()
public void setMacroPdf417SegmentsCount(int value)
value
- public int getMacroPdf417SegmentID()
public void setMacroPdf417SegmentID(int value)
value
- public int getMacroPdf417FileID()
public void setMacroPdf417FileID(int value)
value
- public float getWideNarrowRatio()
public void setWideNarrowRatio(float value)
public java.lang.String getSupplementData()
BarcodeCreator.getSupplementSpace()
.
public void setSupplementData(java.lang.String value)
BarcodeCreator.getSupplementSpace()
.
public QRCodeECL getQRErrorLevel()
BarcodeCreator.getQRErrorLevel()
.
public void setQRErrorLevel(QRCodeECL value)
BarcodeCreator.getQRErrorLevel()
.
public QRCodeDataMode getQREncodeMode()
public void setQREncodeMode(QRCodeDataMode value)
public int getAztectErrorLevel()
public void setAztectErrorLevel(int value)
public boolean getAlwaysShowChecksum()
public void setAlwaysShowChecksum(boolean value)
value
- public void insertWatermark()
@Deprecated public void dispose()
public com.spire.ms.System.Drawing.Bitmap generateBarcodeImage()
public void saveAsEmf(java.lang.String fileName)
fileName
- The file name.
java.lang.Exception
public void saveAsEmf(com.spire.ms.System.IO.Stream stream)
stream
- System.IO.Stream
java.lang.Exception
public void rotate()
public void rotate(float angle)
angle
- Rotation Anglepublic void rotate(RotationDirection direction, float angle)
direction
- rotation directionangle
- rotation anglepublic void print()
BarcodeCreator.getPrinterName()
.
public com.spire.ms.System.Drawing.Bitmap getCustomSizeBarCodeImage(com.spire.ms.System.Drawing.Size customBarCodeSize, boolean allowSpaceAround)
customBarCodeSize
- BarCode full image size. Default Graphics Unit: Millimeter.allowSpaceAround
- if set to public void save(com.spire.ms.System.IO.Stream stream, com.spire.ms.System.Drawing.Imaging.ImageFormat format)
stream
- System.IO.Streamformat
- System.Drawing.Imaging.ImageFormatpublic void save(com.spire.ms.System.IO.Stream stream, BarcodeImageFormat format)
stream
- System.IO.Streamformat
- Specifies the file format of the image.public void save(java.lang.String filename)
filename
- save to this file pathpublic void save(java.lang.String filename, com.spire.ms.System.Drawing.Imaging.ImageFormat format)
filename
- save to this file pathformat
- System.Drawing.Imaging.ImageFormatpublic void save(java.lang.String filename, BarcodeImageFormat format)
filename
- save to this file pathformat
- Specifies the file format of the image.public java.lang.String toString()
toString
in class java.lang.Object
public CodeCaption getCodeCaptionLogoImage()
public void setCodeCaptionLogoImage(CodeCaption _logoCodeCaption)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |