|
|||||||||
prev class next class | frames no frames | ||||||||
summary: nested | field | constr | method | detail: field | constr | method |
java.lang.objectcom.spire.pdf.barcode.pdfbarcode
com.spire.pdf.barcode.pdfunidimensionalbarcode
public abstract class pdfunidimensionalbarcode
represents the base class for all the single dimensional barcodes
constructor summary | |
---|---|
pdfunidimensionalbarcode()
initializes the new instance of |
method summary | |
---|---|
void |
draw(pdfpagebase page,
java.awt.point location)
|
void |
draw(pdfpagebase page,
java.awt.geom.point2d location)
draws the barcode on the at the specified location. |
void |
draw(pdfpagebase page,
java.awt.geom.rectangle2d rect)
draws the barcode on the at the specified region. |
boolean |
getenablecheckdigit()
gets a value indicating whether to enable to check digit calculation in the generated barcode or not. |
boolean |
getencodestartstopsymbols()
gets a value indicating whether [encode start stop symbols]. |
boolean |
getshowcheckdigit()
get show check digit |
void |
setbarcodetotextgapheight(float value)
sets the gap between the barcode and the displayed text. |
void |
setenablecheckdigit(boolean value)
sets a value indicating whether to enable to check digit calculation in the generated barcode or not. |
void |
setshowcheckdigit(boolean value)
set show check digit |
void |
settextalignment( value)
sets the alignment of the text displayed on the barcode. |
void |
settextdisplaylocation(textlocation value)
sets the text display location. |
java.awt.image.bufferedimage |
toimage()
exports the barcode as image. |
methods inherited from class com.spire.pdf.barcode.pdfbarcode |
---|
getbackcolor, getbarcolor, getbarheight, getbounds, getextendedtext, getlocation, getnarrowbarwidth, getquietzone, getsize, gettext, gettextcolor, setbackcolor, setbarcolor, setbarheight, setbounds, setextendedtext, setlocation, setnarrowbarwidth, settext, settextcolor |
constructor detail |
---|
public pdfunidimensionalbarcode()
method detail |
---|
public void settextdisplaylocation(textlocation value)
public boolean getshowcheckdigit()
the default value is false.
public void setshowcheckdigit(boolean value)
the default value is false.
public boolean getenablecheckdigit()
the default value is true.
public void setenablecheckdigit(boolean value)
the default value is true.
public void setbarcodetotextgapheight(float value)
public void settextalignment( value)
default value is center.
public boolean getencodestartstopsymbols()
public void draw(pdfpagebase page, java.awt.geom.rectangle2d rect)
page
- the pdf page.rect
- the barcode region.public void draw(pdfpagebase page, java.awt.geom.point2d location)
page
- the pdf page.location
- the barcode location.public void draw(pdfpagebase page, java.awt.point location)
public java.awt.image.bufferedimage toimage()
|
|||||||||
prev class next class | frames no frames | ||||||||
summary: nested | field | constr | method | detail: field | constr | method |