|
|||||||||
prev class next class | frames no frames | ||||||||
summary: nested | field | constr | method | detail: field | constr | method |
java.lang.objectcom.spire.doc.fields.barcode.barcodesettings
public class barcodesettings
packages settings for barcodes. canonical implementation of ibarcodesettings.
constructor summary | |
---|---|
barcodesettings()
|
method summary | |
---|---|
static void |
applykey(java.lang.string key)
provide a valid key to remove the logo of e-iceblue in the barcode view or image generated by this component |
boolean |
getautoresize()
gets adjust size of barcode image automatically. |
java.awt.color |
getbackcolor()
the back color of the barcode. |
float |
getbarheight()
the height of the barcode. |
java.awt.color |
getbordercolor()
border's color |
int |
getborderdashstyle()
border's dash style. |
float |
getborderwidth()
borders's width of barcode image. |
float |
getbottommargin()
the vertical bottom offset height of the barcode to the border. |
codabarchar |
getcodabarstartchar()
start character of codabar barcode. |
codabarchar |
getcodabarstopchar()
stop character of codabar barcode. |
code128setmode |
getcode128setmode()
gets code set of pdf417 barcode. |
int |
getcolumncount()
columns of 2d barcode. |
java.lang.string |
getdata()
the data to render with the barcode. |
java.lang.string |
getdata2d()
gets text of 2d barcode. |
float |
getdpix()
gets the horizontal resolution. |
float |
getdpiy()
gets the horizontal resolution. |
java.awt.color |
getfontcolor()
the color of the font to render text in the barcode. |
java.awt.color |
getforecolor()
gets foreground color of the barcode image. |
float |
getimageheight()
height of barcode image. |
float |
getimagewidth()
width of barcode image. |
float |
getleftmargin()
the horizontal (left and right) offset width of the barcode to the border. |
int |
getmacrofileindex()
gets macro pdf417 barcode's file index. |
int |
getmacrosegmentindex()
gets macro pdf417 barcode's segment index. |
pdf417datamode |
getpdf417datamode()
gets data mode of pdf417 barcode. |
pdf417ecl |
getpdf417ecl()
error correction level of pdf417 barcode. |
boolean |
getpdf417truncated()
indicates wheter has been truncated of pdf 417 barcode. |
qrcodedatamode |
getqrcodedatamode()
gets of qrcode barcode. |
qrcodeecl |
getqrcodeecl()
error correction level of qrcode barcode. |
resolutiontype |
getresolutiontype()
gets he resolution. |
float |
getrightmargin()
the horizontal right offset width of the barcode to the border. |
float |
getrotate()
gets rotation angle of barcode image. |
int |
getrowcount()
rows of 2d barcode. |
boolean |
getshowchecksumchar()
indicates whether shows checksum digit in code128 and ean128 barcodes. |
boolean |
getshowtext()
indicates whether display barcode's text. |
boolean |
getshowtextonbottom()
indicates whether display barcode's text on bottom. |
boolean |
getshowtoptext()
indicates whether displays top text. |
java.lang.string |
getsupdata()
supplement data. |
float |
getsupspace()
space between main and supplement barcode. |
stringalignment |
gettextalignment()
the position of the text rendered in the barcode. |
java.awt.color |
gettextcolor()
the color of the bar of the barcode. |
java.awt.font |
gettextfont()
the font used to render the text inside the barcode. |
float |
gettextmargin()
space between barcode and text. |
textrenderinghint |
gettextrenderinghint()
quality of text rendering. |
textrenderinghint |
gettextrenderinghintinner()
gets quality of barcode text rendering. |
float |
gettopmargin()
the vertical top offset height of the barcode to the border. |
java.lang.string |
gettoptext()
top text of barcode. |
stringalignment |
gettoptextaligment()
indicate top text aligment. |
java.awt.color |
gettoptextcolor()
top text color of barcode. |
java.awt.font |
gettoptextfont()
top text font of barcode. |
barcodetype |
gettype()
the type of the barcode. |
graphicsunit |
getunit()
measurement unit. |
boolean |
getuseantialias()
inidcates whether use anti alias mode to render image. |
checksummode |
getusechecksum()
whether the barcode will use an (optional) checksum. |
float |
getwidenarrowratio()
wide/narrow ratio. |
float |
getx()
width of barcode bar module. |
float |
getxyratio()
height/width ratio of 2d barcode's module. |
float |
gety()
height of 2d barcode bar module. |
boolean |
hasborder()
indicates whether has border; |
void |
hasborder(boolean value)
indicates whether has border; |
static boolean |
hasvalidkey()
|
void |
setautoresize(boolean value)
sets adjust size of barcode image automatically. |
void |
setbackcolor(java.awt.color value)
the back color of the barcode. |
void |
setbarheight(float value)
the height of the barcode. |
void |
setbordercolor(java.awt.color value)
border's color |
void |
setborderdashstyle(int value)
border's dash style. |
void |
setborderwidth(float value)
borders's width of barcode image. |
void |
setbottommargin(float value)
the vertical bottom offset height of the barcode to the border. |
void |
setcodabarstartchar(codabarchar value)
start character of codabar barcode. |
void |
setcodabarstopchar(codabarchar value)
stop character of codabar barcode. |
void |
setcode128setmode(code128setmode value)
sets code set of pdf417 barcode. |
void |
setcolumncount(int value)
columns of 2d barcode. |
void |
setdata(java.lang.string value)
the data to render with the barcode. |
void |
setdata2d(java.lang.string value)
sets text of 2d barcode. |
void |
setdpix(float value)
sets the horizontal resolution. |
void |
setdpiy(float value)
sets the horizontal resolution. |
void |
setfontcolor(java.awt.color value)
the color of the font to render text in the barcode. |
void |
setforecolor(java.awt.color value)
sets foreground color of the barcode image. |
void |
setimageheight(float value)
height of barcode image. |
void |
setimagewidth(float value)
width of barcode image. |
void |
setleftmargin(float value)
the horizontal (left and right) offset width of the barcode to the border. |
void |
setmacrofileindex(int value)
sets macro pdf417 barcode's file index. |
void |
setmacrosegmentindex(int value)
sets macro pdf417 barcode's segment index. |
void |
setpdf417datamode(pdf417datamode value)
sets data mode of pdf417 barcode. |
void |
setpdf417ecl(pdf417ecl value)
error correction level of pdf417 barcode. |
void |
setpdf417truncated(boolean value)
indicates wheter has been truncated of pdf 417 barcode. |
void |
setqrcodedatamode(qrcodedatamode value)
sets of qrcode barcode. |
void |
setqrcodeecl(qrcodeecl value)
error correction level of qrcode barcode. |
void |
setresolutiontype(resolutiontype value)
sets he resolution. |
void |
setrightmargin(float value)
the horizontal right offset width of the barcode to the border. |
void |
setrotate(float value)
sets rotation angle of barcode image. |
void |
setrowcount(int value)
rows of 2d barcode. |
void |
setshowchecksumchar(boolean value)
indicates whether shows checksum digit in code128 and ean128 barcodes. |
void |
setshowtext(boolean value)
indicates whether display barcode's text. |
void |
setshowtextonbottom(boolean value)
indicates whether display barcode's text on bottom. |
void |
setshowtoptext(boolean value)
indicates whether displays top text. |
void |
setsupdata(java.lang.string value)
supplement data. |
void |
setsupspace(float value)
space between main and supplement barcode. |
void |
settextalignment(stringalignment value)
the position of the text rendered in the barcode. |
void |
settextcolor(java.awt.color value)
the color of the bar of the barcode. |
void |
settextfont(java.awt.font value)
the font used to render the text inside the barcode. |
void |
settextmargin(float value)
space between barcode and text. |
void |
settextrenderinghint(textrenderinghint textrenderinghint)
quality of text rendering. |
void |
settextrenderinghintinner(textrenderinghint value)
sets quality of barcode text rendering. |
void |
settopmargin(float value)
the vertical top offset height of the barcode to the border. |
void |
settoptext(java.lang.string value)
top text of barcode. |
void |
settoptextaligment(stringalignment value)
indicate top text aligment. |
void |
settoptextcolor(java.awt.color value)
top text color of barcode. |
void |
settoptextfont(java.awt.font value)
top text font of barcode. |
void |
settype(barcodetype value)
the type of the barcode. |
void |
setunit(graphicsunit value)
measurement unit. |
void |
setuseantialias(boolean value)
inidcates whether use anti alias mode to render image. |
void |
setusechecksum(checksummode value)
whether the barcode will use an (optional) checksum. |
void |
setwidenarrowratio(float value)
wide/narrow ratio. |
void |
setx(float value)
width of barcode bar module. |
void |
setxyratio(float value)
height/width ratio of 2d barcode's module. |
void |
sety(float value)
height of 2d barcode bar module. |
constructor detail |
---|
public barcodesettings()
method detail |
---|
public barcodetype gettype()
gettype
in interface ibarcodesettings
public void settype(barcodetype value)
settype
in interface ibarcodesettings
public java.lang.string getdata()
getdata
in interface ibarcodesettings
public void setdata(java.lang.string value)
setdata
in interface ibarcodesettings
public java.awt.color getbackcolor()
getbackcolor
in interface ibarcodesettings
public void setbackcolor(java.awt.color value)
setbackcolor
in interface ibarcodesettings
public java.awt.color gettextcolor()
gettextcolor
in interface ibarcodesettings
public void settextcolor(java.awt.color value)
settextcolor
in interface ibarcodesettings
public float getbarheight()
barcodesettings.getunit()
.
getbarheight
in interface ibarcodesettings
public void setbarheight(float value)
barcodesettings.getunit()
.
setbarheight
in interface ibarcodesettings
public java.awt.color getfontcolor()
public void setfontcolor(java.awt.color value)
public float gettopmargin()
barcodesettings.getunit()
.
gettopmargin
in interface ibarcodesettings
public void settopmargin(float value)
barcodesettings.getunit()
.
settopmargin
in interface ibarcodesettings
public float getleftmargin()
barcodesettings.getunit()
.
getleftmargin
in interface ibarcodesettings
public void setleftmargin(float value)
barcodesettings.getunit()
.
setleftmargin
in interface ibarcodesettings
public java.awt.font gettextfont()
gettextfont
in interface ibarcodesettings
public void settextfont(java.awt.font value)
settextfont
in interface ibarcodesettings
public checksummode getusechecksum()
getusechecksum
in interface ibarcodesettings
public void setusechecksum(checksummode value)
setusechecksum
in interface ibarcodesettings
public boolean getautoresize()
getautoresize
in interface ibarcodesettings
public void setautoresize(boolean value)
setautoresize
in interface ibarcodesettings
public java.lang.string getdata2d()
getdata2d
in interface ibarcodesettings
public void setdata2d(java.lang.string value)
setdata2d
in interface ibarcodesettings
public java.lang.string gettoptext()
gettoptext
in interface ibarcodesettings
public void settoptext(java.lang.string value)
settoptext
in interface ibarcodesettings
public java.awt.color gettoptextcolor()
gettoptextcolor
in interface ibarcodesettings
public void settoptextcolor(java.awt.color value)
settoptextcolor
in interface ibarcodesettings
public java.awt.font gettoptextfont()
gettoptextfont
in interface ibarcodesettings
public void settoptextfont(java.awt.font value)
settoptextfont
in interface ibarcodesettings
public boolean getshowtoptext()
getshowtoptext
in interface ibarcodesettings
public void setshowtoptext(boolean value)
setshowtoptext
in interface ibarcodesettings
public graphicsunit getunit()
getunit
in interface ibarcodesettings
public void setunit(graphicsunit value)
setunit
in interface ibarcodesettings
public textrenderinghint gettextrenderinghintinner()
public void settextrenderinghintinner(textrenderinghint value)
public textrenderinghint gettextrenderinghint()
ibarcodesettings
gettextrenderinghint
in interface ibarcodesettings
public void settextrenderinghint(textrenderinghint textrenderinghint)
ibarcodesettings
settextrenderinghint
in interface ibarcodesettings
public float getrotate()
getrotate
in interface ibarcodesettings
public void setrotate(float value)
setrotate
in interface ibarcodesettings
public java.awt.color getforecolor()
getforecolor
in interface ibarcodesettings
public void setforecolor(java.awt.color value)
setforecolor
in interface ibarcodesettings
public boolean getshowtext()
getshowtext
in interface ibarcodesettings
public void setshowtext(boolean value)
setshowtext
in interface ibarcodesettings
public boolean getshowtextonbottom()
getshowtextonbottom
in interface ibarcodesettings
public void setshowtextonbottom(boolean value)
setshowtextonbottom
in interface ibarcodesettings
public float getbottommargin()
getbottommargin
in interface ibarcodesettings
public void setbottommargin(float value)
setbottommargin
in interface ibarcodesettings
public float gettextmargin()
gettextmargin
in interface ibarcodesettings
public void settextmargin(float value)
settextmargin
in interface ibarcodesettings
public float getrightmargin()
getrightmargin
in interface ibarcodesettings
public void setrightmargin(float value)
setrightmargin
in interface ibarcodesettings
public stringalignment gettextalignment()
ibarcodesettings
gettextalignment
in interface ibarcodesettings
public void settextalignment(stringalignment value)
ibarcodesettings
settextalignment
in interface ibarcodesettings
public boolean getuseantialias()
getuseantialias
in interface ibarcodesettings
public void setuseantialias(boolean value)
setuseantialias
in interface ibarcodesettings
public float getimageheight()
getimageheight
in interface ibarcodesettings
public void setimageheight(float value)
setimageheight
in interface ibarcodesettings
public float getimagewidth()
getimagewidth
in interface ibarcodesettings
public void setimagewidth(float value)
setimagewidth
in interface ibarcodesettings
public int getcolumncount()
getcolumncount
in interface ibarcodesettings
public void setcolumncount(int value)
setcolumncount
in interface ibarcodesettings
public int getrowcount()
getrowcount
in interface ibarcodesettings
public void setrowcount(int value)
setrowcount
in interface ibarcodesettings
public float getdpix()
getdpix
in interface ibarcodesettings
public void setdpix(float value)
setdpix
in interface ibarcodesettings
public float getdpiy()
getdpiy
in interface ibarcodesettings
public void setdpiy(float value)
setdpiy
in interface ibarcodesettings
public resolutiontype getresolutiontype()
getresolutiontype
in interface ibarcodesettings
public void setresolutiontype(resolutiontype value)
setresolutiontype
in interface ibarcodesettings
public boolean getshowchecksumchar()
getshowchecksumchar
in interface ibarcodesettings
public void setshowchecksumchar(boolean value)
setshowchecksumchar
in interface ibarcodesettings
public codabarchar getcodabarstartchar()
getcodabarstartchar
in interface ibarcodesettings
public void setcodabarstartchar(codabarchar value)
setcodabarstartchar
in interface ibarcodesettings
public codabarchar getcodabarstopchar()
getcodabarstopchar
in interface ibarcodesettings
public void setcodabarstopchar(codabarchar value)
setcodabarstopchar
in interface ibarcodesettings
public java.lang.string getsupdata()
getsupdata
in interface ibarcodesettings
public void setsupdata(java.lang.string value)
setsupdata
in interface ibarcodesettings
public float getsupspace()
getsupspace
in interface ibarcodesettings
public void setsupspace(float value)
setsupspace
in interface ibarcodesettings
public float getwidenarrowratio()
getwidenarrowratio
in interface ibarcodesettings
public void setwidenarrowratio(float value)
setwidenarrowratio
in interface ibarcodesettings
public boolean hasborder()
hasborder
in interface ibarcodesettings
public void hasborder(boolean value)
hasborder
in interface ibarcodesettings
public float getborderwidth()
getborderwidth
in interface ibarcodesettings
public void setborderwidth(float value)
setborderwidth
in interface ibarcodesettings
public java.awt.color getbordercolor()
getbordercolor
in interface ibarcodesettings
public void setbordercolor(java.awt.color value)
setbordercolor
in interface ibarcodesettings
public int getborderdashstyle()
getborderdashstyle
in interface ibarcodesettings
public void setborderdashstyle(int value)
setborderdashstyle
in interface ibarcodesettings
public float getx()
getx
in interface ibarcodesettings
public void setx(float value)
setx
in interface ibarcodesettings
public float gety()
gety
in interface ibarcodesettings
public void sety(float value)
sety
in interface ibarcodesettings
public float getxyratio()
getxyratio
in interface ibarcodesettings
public void setxyratio(float value)
setxyratio
in interface ibarcodesettings
public code128setmode getcode128setmode()
getcode128setmode
in interface ibarcodesettings
public void setcode128setmode(code128setmode value)
setcode128setmode
in interface ibarcodesettings
public pdf417datamode getpdf417datamode()
getpdf417datamode
in interface ibarcodesettings
public void setpdf417datamode(pdf417datamode value)
setpdf417datamode
in interface ibarcodesettings
public pdf417ecl getpdf417ecl()
getpdf417ecl
in interface ibarcodesettings
public void setpdf417ecl(pdf417ecl value)
setpdf417ecl
in interface ibarcodesettings
public boolean getpdf417truncated()
getpdf417truncated
in interface ibarcodesettings
public void setpdf417truncated(boolean value)
setpdf417truncated
in interface ibarcodesettings
public int getmacrofileindex()
getmacrofileindex
in interface ibarcodesettings
public void setmacrofileindex(int value)
setmacrofileindex
in interface ibarcodesettings
public int getmacrosegmentindex()
getmacrosegmentindex
in interface ibarcodesettings
public void setmacrosegmentindex(int value)
setmacrosegmentindex
in interface ibarcodesettings
public qrcodedatamode getqrcodedatamode()
getqrcodedatamode
in interface ibarcodesettings
public void setqrcodedatamode(qrcodedatamode value)
setqrcodedatamode
in interface ibarcodesettings
public qrcodeecl getqrcodeecl()
getqrcodeecl
in interface ibarcodesettings
public void setqrcodeecl(qrcodeecl value)
setqrcodeecl
in interface ibarcodesettings
public stringalignment gettoptextaligment()
ibarcodesettings
gettoptextaligment
in interface ibarcodesettings
public void settoptextaligment(stringalignment value)
ibarcodesettings
settoptextaligment
in interface ibarcodesettings
public static boolean hasvalidkey()
public static void applykey(java.lang.string key)
key
- barcode key
|
|||||||||
prev class next class | frames no frames | ||||||||
summary: nested | field | constr | method | detail: field | constr | method |