ibarcodesettings-ag凯发旗舰厅



com.spire.barcode
interface ibarcodesettings

all known implementing classes:
barcodesettings

public interface ibarcodesettings

defines barcode settings.


method summary
 boolean getautoresize()
          the size of 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()
          the data to render with the 2d barcode.
 float getdpix()
          gets the horizontal resolution.
 float getdpiy()
          gets the horizontal resolution.
 java.awt.color getforecolor()
          the fore color of the barcode.
 float getimageheight()
          height of barcode image.
 float getimagewidth()
          width of barcode image.
 float getleftmargin()
          the horizontal left 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 the resolution.
 float getrightmargin()
          the horizontal right offset width of the barcode to the border.
 float getrotate()
          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 data text.
 boolean getshowtextonbottom()
          indicates whether display barcode data text on bottom.
 boolean getshowtoptext()
          indicates whether shows 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.
 float gettopmargin()
          the vertical top offset height of the barcode to the border.
 java.lang.string gettoptext()
          top text;
 stringalignment gettoptextaligment()
          indicate top text aligment.
 java.awt.color gettoptextcolor()
          text color of top text;
 java.awt.font gettoptextfont()
          text font of top text;
 barcodetype gettype()
          the type of the barcode.
 graphicsunit getunit()
          the unit of measure of the barcode's measurable properties.
 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;
 void setautoresize(boolean value)
          the size of 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)
          the data to render with the 2d barcode.
 void setdpix(float value)
          sets the horizontal resolution.
 void setdpiy(float value)
          sets the horizontal resolution.
 void setforecolor(java.awt.color value)
          the fore color of the barcode.
 void setimageheight(float value)
          height of barcode image.
 void setimagewidth(float value)
          width of barcode image.
 void setleftmargin(float value)
          the horizontal left 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 the resolution.
 void setrightmargin(float value)
          the horizontal right offset width of the barcode to the border.
 void setrotate(float value)
          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 data text.
 void setshowtextonbottom(boolean value)
          indicates whether display barcode data text on bottom.
 void setshowtoptext(boolean value)
          indicates whether shows 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 value)
          quality of 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;
 void settoptextaligment(stringalignment value)
          indicate top text aligment.
 void settoptextcolor(java.awt.color value)
          text color of top text;
 void settoptextfont(java.awt.font value)
          text font of top text;
 void settype(barcodetype value)
          the type of the barcode.
 void setunit(graphicsunit value)
          the unit of measure of the barcode's measurable properties.
 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.
 
method detail

getautoresize

boolean getautoresize()
the size of image automatically.

setautoresize

void setautoresize(boolean value)
the size of image automatically.

gettype

barcodetype gettype()
the type of the barcode.

settype

void settype(barcodetype value)
the type of the barcode.

getdata

java.lang.string getdata()
the data to render with the barcode.

setdata

void setdata(java.lang.string value)
the data to render with the barcode.

getdata2d

java.lang.string getdata2d()
the data to render with the 2d barcode.

setdata2d

void setdata2d(java.lang.string value)
the data to render with the 2d barcode.

gettoptext

java.lang.string gettoptext()
top text;

settoptext

void settoptext(java.lang.string value)
top text;

gettoptextcolor

java.awt.color gettoptextcolor()
text color of top text;

settoptextcolor

void settoptextcolor(java.awt.color value)
text color of top text;

gettoptextfont

java.awt.font gettoptextfont()
text font of top text;

settoptextfont

void settoptextfont(java.awt.font value)
text font of top text;

getshowtoptext

boolean getshowtoptext()
indicates whether shows top text.

setshowtoptext

void setshowtoptext(boolean value)
indicates whether shows top text.

gettoptextaligment

stringalignment gettoptextaligment()
indicate top text aligment.

settoptextaligment

void settoptextaligment(stringalignment value)
indicate top text aligment.

getunit

graphicsunit getunit()
the unit of measure of the barcode's measurable properties.

setunit

void setunit(graphicsunit value)
the unit of measure of the barcode's measurable properties.

gettextrenderinghint

textrenderinghint gettextrenderinghint()
quality of text rendering.

settextrenderinghint

void settextrenderinghint(textrenderinghint value)
quality of text rendering.

getrotate

float getrotate()
rotation angle of barcode image.

setrotate

void setrotate(float value)
rotation angle of barcode image.

getbackcolor

java.awt.color getbackcolor()
the back color of the barcode.

setbackcolor

void setbackcolor(java.awt.color value)
the back color of the barcode.

getforecolor

java.awt.color getforecolor()
the fore color of the barcode.

setforecolor

void setforecolor(java.awt.color value)
the fore color of the barcode.

getshowtext

boolean getshowtext()
indicates whether display barcode data text.

setshowtext

void setshowtext(boolean value)
indicates whether display barcode data text.

getshowtextonbottom

boolean getshowtextonbottom()
indicates whether display barcode data text on bottom.

setshowtextonbottom

void setshowtextonbottom(boolean value)
indicates whether display barcode data text on bottom.

gettextcolor

java.awt.color gettextcolor()
the color of the bar of the barcode.

settextcolor

void settextcolor(java.awt.color value)
the color of the bar of the barcode.

getbarheight

float getbarheight()
the height of the barcode. affected by ibarcodesettings.getunit().

setbarheight

void setbarheight(float value)
the height of the barcode. affected by ibarcodesettings.getunit().

gettopmargin

float gettopmargin()
the vertical top offset height of the barcode to the border. affected by ibarcodesettings.getunit().

settopmargin

void settopmargin(float value)
the vertical top offset height of the barcode to the border. affected by ibarcodesettings.getunit().

getbottommargin

float getbottommargin()
the vertical bottom offset height of the barcode to the border.

setbottommargin

void setbottommargin(float value)
the vertical bottom offset height of the barcode to the border.

gettextmargin

float gettextmargin()
space between barcode and text.

settextmargin

void settextmargin(float value)
space between barcode and text.

getleftmargin

float getleftmargin()
the horizontal left offset width of the barcode to the border.

setleftmargin

void setleftmargin(float value)
the horizontal left offset width of the barcode to the border.

getrightmargin

float getrightmargin()
the horizontal right offset width of the barcode to the border.

setrightmargin

void setrightmargin(float value)
the horizontal right offset width of the barcode to the border.

gettextfont

java.awt.font gettextfont()
the font used to render the text inside the barcode.

settextfont

void settextfont(java.awt.font value)
the font used to render the text inside the barcode.

gettextalignment

stringalignment gettextalignment()
the position of the text rendered in the barcode.

settextalignment

void settextalignment(stringalignment value)
the position of the text rendered in the barcode.

getusechecksum

checksummode getusechecksum()
whether the barcode will use an (optional) checksum. not every barcode requires a checksum, and others mandate it.

setusechecksum

void setusechecksum(checksummode value)
whether the barcode will use an (optional) checksum. not every barcode requires a checksum, and others mandate it.

getuseantialias

boolean getuseantialias()
inidcates whether use anti alias mode to render image.

setuseantialias

void setuseantialias(boolean value)
inidcates whether use anti alias mode to render image.

getimageheight

float getimageheight()
height of barcode image.

setimageheight

void setimageheight(float value)
height of barcode image.

getimagewidth

float getimagewidth()
width of barcode image.

setimagewidth

void setimagewidth(float value)
width of barcode image.

getcolumncount

int getcolumncount()
columns of 2d barcode.

setcolumncount

void setcolumncount(int value)
columns of 2d barcode.

getrowcount

int getrowcount()
rows of 2d barcode.

setrowcount

void setrowcount(int value)
rows of 2d barcode.

getdpix

float getdpix()
gets the horizontal resolution.

setdpix

void setdpix(float value)
sets the horizontal resolution.

getdpiy

float getdpiy()
gets the horizontal resolution.

setdpiy

void setdpiy(float value)
sets the horizontal resolution.

getresolutiontype

resolutiontype getresolutiontype()
gets the resolution.

setresolutiontype

void setresolutiontype(resolutiontype value)
sets the resolution.

getshowchecksumchar

boolean getshowchecksumchar()
indicates whether shows checksum digit in code128 and ean128 barcodes.

setshowchecksumchar

void setshowchecksumchar(boolean value)
indicates whether shows checksum digit in code128 and ean128 barcodes.

getcodabarstartchar

codabarchar getcodabarstartchar()
start character of codabar barcode.

setcodabarstartchar

void setcodabarstartchar(codabarchar value)
start character of codabar barcode.

getcodabarstopchar

codabarchar getcodabarstopchar()
stop character of codabar barcode.

setcodabarstopchar

void setcodabarstopchar(codabarchar value)
stop character of codabar barcode.

getsupdata

java.lang.string getsupdata()
supplement data.

setsupdata

void setsupdata(java.lang.string value)
supplement data.

getsupspace

float getsupspace()
space between main and supplement barcode.

setsupspace

void setsupspace(float value)
space between main and supplement barcode.

getwidenarrowratio

float getwidenarrowratio()
wide/narrow ratio.

setwidenarrowratio

void setwidenarrowratio(float value)
wide/narrow ratio.

hasborder

boolean hasborder()
indicates whether has border;

hasborder

void hasborder(boolean value)
indicates whether has border;

getborderwidth

float getborderwidth()
borders's width of barcode image.

setborderwidth

void setborderwidth(float value)
borders's width of barcode image.

getbordercolor

java.awt.color getbordercolor()
border's color

setbordercolor

void setbordercolor(java.awt.color value)
border's color

getborderdashstyle

int getborderdashstyle()
border's dash style.

setborderdashstyle

void setborderdashstyle(int value)
border's dash style.

getx

float getx()
width of barcode bar module.

setx

void setx(float value)
width of barcode bar module.

gety

float gety()
height of 2d barcode bar module.

sety

void sety(float value)
height of 2d barcode bar module.

getxyratio

float getxyratio()
height/width ratio of 2d barcode's module.

setxyratio

void setxyratio(float value)
height/width ratio of 2d barcode's module.

getcode128setmode

code128setmode getcode128setmode()
gets code set of pdf417 barcode.

setcode128setmode

void setcode128setmode(code128setmode value)
sets code set of pdf417 barcode.

getpdf417datamode

pdf417datamode getpdf417datamode()
gets data mode of pdf417 barcode.

setpdf417datamode

void setpdf417datamode(pdf417datamode value)
sets data mode of pdf417 barcode.

getpdf417ecl

pdf417ecl getpdf417ecl()
error correction level of pdf417 barcode.

setpdf417ecl

void setpdf417ecl(pdf417ecl value)
error correction level of pdf417 barcode.

getpdf417truncated

boolean getpdf417truncated()
indicates wheter has been truncated of pdf 417 barcode.

setpdf417truncated

void setpdf417truncated(boolean value)
indicates wheter has been truncated of pdf 417 barcode.

getmacrofileindex

int getmacrofileindex()
gets macro pdf417 barcode's file index.

setmacrofileindex

void setmacrofileindex(int value)
sets macro pdf417 barcode's file index.

getmacrosegmentindex

int getmacrosegmentindex()
gets macro pdf417 barcode's segment index.

setmacrosegmentindex

void setmacrosegmentindex(int value)
sets macro pdf417 barcode's segment index.

getqrcodedatamode

qrcodedatamode getqrcodedatamode()
gets of qrcode barcode.

setqrcodedatamode

void setqrcodedatamode(qrcodedatamode value)
sets of qrcode barcode.

getqrcodeecl

qrcodeecl getqrcodeecl()
error correction level of qrcode barcode.

setqrcodeecl

void setqrcodeecl(qrcodeecl value)
error correction level of qrcode barcode.


网站地图