|
|||||||||
prev class next class | frames no frames | ||||||||
summary: nested | field | constr | method | detail: field | constr | method |
java.lang.objectcom.spire.doc.fields.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 |
|
(java.lang.string codetext,
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). |
|
getaustraliapostformatcontrolcode()
australia post symbology type of barcode's formatcontrolcode, default to australiapostformatcontrolcode.standard" see . |
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()
|
|
getbarcodeimagecodecaptionabove()
|
float |
getbarheight()
height of 1d barcodes' bars. |
com.spire.ms.system.drawing.color |
getbordercolor()
barcode image's border's color see color. |
|
getborderdashstyle()
barcode image's border's style see . |
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()
|
|
getcodecaptionabove()
codecaption above the barcode image. |
|
getcodecaptionbelow()
codecaption below the barcode image. |
|
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. |
|
getdatamatrixencodemode()
encode mode of datamatrix barcode, default to auto . |
java.lang.string |
getdisplay2dtext()
gets the text will displayed on the barcode's image. |
|
getean128encodemode()
|
|
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 |
|
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 |
|
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. |
|
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. |
|
getresolution()
gets the resolution of the barcode image see . |
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. |
|
getsymbologytype()
barcode's symbology, type: spire.barcode.symbologytype see . |
|
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 |
( direction,
float angle)
rotate the barcode image |
void |
(com.spire.ms.system.io.stream stream,
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 |
(java.lang.string filename,
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 |
( value)
australia post symbology type of barcode's formatcontrolcode, default to australiapostformatcontrolcode.standard" see . |
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 |
( value)
barcode image's border's style see . |
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 |
( value)
codecaption above the barcode image. |
void |
( value)
codecaption below the barcode image. |
void |
( _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 |
( value)
encode mode of datamatrix barcode, default to auto . |
void |
setdisplay2dtext(java.lang.string value)
sets the text will displayed on the barcode's image. |
void |
( 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 |
( 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 |
( 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( 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( value)
barcode's symbology, type: spire.barcode.symbologytype see . |
void |
( 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, type)
codetext
- string text data to be encodedtype
- barcode's type: spire.barcode.symbologytypemethod detail |
---|
public getbarcodeimagecodecaptionabove()
public getsymbologytype()
public void setsymbologytype( value)
public java.lang.string getcodetext()
barcodecreator.getenableescape()
.
see barcodecreator.getcodetextfont()
.
see barcodecreator.getcodetextcolor()
.
see .
see barcodecreator.getcodetextspace()
.
see barcodecreator.getcodetextalignment()
.
public void setcodetext(java.lang.string value)
barcodecreator.getenableescape()
.
see barcodecreator.getcodetextfont()
.
see barcodecreator.getcodetextcolor()
.
see .
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 .
see barcodecreator.getcodetextspace()
.
see barcodecreator.getcodetextalignment()
.
public void setcodetextfont(com.spire.ms.system.drawing.font value)
barcodecreator.getcodetext()
.
see font.
see barcodecreator.getcodetextcolor()
.
see .
see barcodecreator.getcodetextspace()
.
see barcodecreator.getcodetextalignment()
.
public com.spire.ms.system.drawing.color getcodetextcolor()
barcodecreator.getcodetext()
.
see barcodecreator.getcodetextfont()
.
see .
see barcodecreator.getcodetextspace()
.
see barcodecreator.getcodetextalignment()
.
public void setcodetextcolor(com.spire.ms.system.drawing.color value)
barcodecreator.getcodetext()
.
see barcodecreator.getcodetextfont()
.
see .
see barcodecreator.getcodetextspace()
.
see barcodecreator.getcodetextalignment()
.
public gettextlocation()
barcodecreator.getcodetext()
.
see barcodecreator.getcodetextfont()
.
see barcodecreator.getcodetextspace()
.
see barcodecreator.getcodetextcolor()
.
see barcodecreator.getcodetextalignment()
.
public void settextlocation( 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 getcodecaptionabove()
public void setcodecaptionabove( value)
public getcodecaptionbelow()
public void setcodecaptionbelow( value)
public graphicsunit getgraphicsunit()
public void setgraphicsunit(graphicsunit value)
public getresolution()
public void setresolution( value)
value
- see .public java.lang.string getprintername()
public void setprintername(java.lang.string value)
public getimagequality()
public void setimagequality( value)
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 .
see barcodecreator.getbordercolor()
.
public void setborderwidth(float value)
barcodecreator.getbordervisible()
.
see .
see barcodecreator.getbordercolor()
.
public float getxpos()
barcodecreator.getautosize()
,
barcodecreator.getbarheight()
public void setxpos(float value)
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
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
barcodecreator.getbarheight()
public float getbarheight()
public void setbarheight(float value)
public float getaspectratio()
public void setaspectratio(float value)
public 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 .
see barcodecreator.getcodetextfont()
.
see barcodecreator.getcodetextcolor()
.
see barcodecreator.getcodetextalignment()
.
public void setcodetextspace(float value)
barcodecreator.getcodetext()
.
see .
see barcodecreator.getcodetextfont()
.
see barcodecreator.getcodetextcolor()
.
see barcodecreator.getcodetextalignment()
.
public com.spire.ms.system.drawing.bitmap getbarcodeimage()
public boolean getbordervisible()
barcodecreator.getborderwidth()
.
see .
see barcodecreator.getbordercolor()
.
public void setbordervisible(boolean value)
barcodecreator.getborderwidth()
.
see .
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 getborderdashstyle()
barcodecreator.getborderwidth()
}.
see barcodecreator.getbordervisible()
.
see barcodecreator.getbordercolor()
.
public void setborderdashstyle( 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 getean128encodemode()
public getaustraliapostformatcontrolcode()
public void setaustraliapostformatcontrolcode( value)
public getitf14bordertype()
public void setitf14bordertype( 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 getenablechecksum()
public void setenablechecksum( 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 getdatamatrixencodemode()
public void setdatamatrixencodemode( value)
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( 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, 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, 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 getcodecaptionlogoimage()
public void setcodecaptionlogoimage( _logocodecaption)
|
|||||||||
prev class next class | frames no frames | ||||||||
summary: nested | field | constr | method | detail: field | constr | method |