📄 barcode128.html
字号:
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../com/lowagie/text/pdf/Barcode128.html#Barcode128()">Barcode128</A></B>()</CODE>
<BR>
Creates new Barcode128</TD>
</TR>
</TABLE>
<!-- ========== METHOD SUMMARY =========== -->
<A NAME="method_summary"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Method Summary</B></FONT></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="../../../../com/lowagie/text/Rectangle.html">Rectangle</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/lowagie/text/pdf/Barcode128.html#getBarcodeSize()">getBarcodeSize</A></B>()</CODE>
<BR>
Gets the maximum area that the barcode and the text, if any, will occupy. </TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static byte[]</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/lowagie/text/pdf/Barcode128.html#getBarsCode128Raw(java.lang.String)">getBarsCode128Raw</A></B>(<A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html">String</A> text)</CODE>
<BR>
Generates the bars. </TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>(package private) static <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/lowagie/text/pdf/Barcode128.html#getPackedRawDigits(java.lang.String, int, int)">getPackedRawDigits</A></B>(<A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html">String</A> text, int textIndex, int numDigits)</CODE>
<BR>
Packs the digits for charset C. </TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html">String</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/lowagie/text/pdf/Barcode128.html#getRawText(java.lang.String, boolean)">getRawText</A></B>(<A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html">String</A> text, boolean ucc)</CODE>
<BR>
Converts the human readable text to the characters needed to create a barcode. </TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>(package private) static boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/lowagie/text/pdf/Barcode128.html#isNextDigits(java.lang.String, int, int)">isNextDigits</A></B>(<A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html">String</A> text, int textIndex, int numDigits)</CODE>
<BR>
Returns <CODE>true</CODE> if the next <CODE>numDigits</CODE> starting from index <CODE>textIndex</CODE> are numeric.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="../../../../com/lowagie/text/Rectangle.html">Rectangle</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/lowagie/text/pdf/Barcode128.html#placeBarcode(com.lowagie.text.pdf.PdfContentByte, java.awt.Color, java.awt.Color)">placeBarcode</A></B>(<A HREF="../../../../com/lowagie/text/pdf/PdfContentByte.html">PdfContentByte</A> cb, <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/awt/Color.html">Color</A> barColor, <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/awt/Color.html">Color</A> textColor)</CODE>
<BR>
Places the barcode in a <CODE>PdfContentByte</CODE>. </TD>
</TR>
</TABLE>
<A NAME="methods_inherited_from_class_com.lowagie.text.pdf.Barcode"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TD><B>Methods inherited from class com.lowagie.text.pdf.<A HREF="../../../../com/lowagie/text/pdf/Barcode.html">Barcode</A></B></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../../com/lowagie/text/pdf/Barcode.html#createImageWithBarcode(com.lowagie.text.pdf.PdfContentByte, java.awt.Color, java.awt.Color)">createImageWithBarcode</A>, <A HREF="../../../../com/lowagie/text/pdf/Barcode.html#createTemplateWithBarcode(com.lowagie.text.pdf.PdfContentByte, java.awt.Color, java.awt.Color)">createTemplateWithBarcode</A>, <A HREF="../../../../com/lowagie/text/pdf/Barcode.html#getBarHeight()">getBarHeight</A>, <A HREF="../../../../com/lowagie/text/pdf/Barcode.html#getBaseline()">getBaseline</A>, <A HREF="../../../../com/lowagie/text/pdf/Barcode.html#getCode()">getCode</A>, <A HREF="../../../../com/lowagie/text/pdf/Barcode.html#getCodeType()">getCodeType</A>, <A HREF="../../../../com/lowagie/text/pdf/Barcode.html#getFont()">getFont</A>, <A HREF="../../../../com/lowagie/text/pdf/Barcode.html#getN()">getN</A>, <A HREF="../../../../com/lowagie/text/pdf/Barcode.html#getSize()">getSize</A>, <A HREF="../../../../com/lowagie/text/pdf/Barcode.html#getTextAlignment()">getTextAlignment</A>, <A HREF="../../../../com/lowagie/text/pdf/Barcode.html#getX()">getX</A>, <A HREF="../../../../com/lowagie/text/pdf/Barcode.html#isChecksumText()">isChecksumText</A>, <A HREF="../../../../com/lowagie/text/pdf/Barcode.html#isExtended()">isExtended</A>, <A HREF="../../../../com/lowagie/text/pdf/Barcode.html#isGenerateChecksum()">isGenerateChecksum</A>, <A HREF="../../../../com/lowagie/text/pdf/Barcode.html#isGuardBars()">isGuardBars</A>, <A HREF="../../../../com/lowagie/text/pdf/Barcode.html#isStartStopText()">isStartStopText</A>, <A HREF="../../../../com/lowagie/text/pdf/Barcode.html#setBarHeight(float)">setBarHeight</A>, <A HREF="../../../../com/lowagie/text/pdf/Barcode.html#setBaseline(float)">setBaseline</A>, <A HREF="../../../../com/lowagie/text/pdf/Barcode.html#setChecksumText(boolean)">setChecksumText</A>, <A HREF="../../../../com/lowagie/text/pdf/Barcode.html#setCode(java.lang.String)">setCode</A>, <A HREF="../../../../com/lowagie/text/pdf/Barcode.html#setCodeType(int)">setCodeType</A>, <A HREF="../../../../com/lowagie/text/pdf/Barcode.html#setExtended(boolean)">setExtended</A>, <A HREF="../../../../com/lowagie/text/pdf/Barcode.html#setFont(com.lowagie.text.pdf.BaseFont)">setFont</A>, <A HREF="../../../../com/lowagie/text/pdf/Barcode.html#setGenerateChecksum(boolean)">setGenerateChecksum</A>, <A HREF="../../../../com/lowagie/text/pdf/Barcode.html#setGuardBars(boolean)">setGuardBars</A>, <A HREF="../../../../com/lowagie/text/pdf/Barcode.html#setN(float)">setN</A>, <A HREF="../../../../com/lowagie/text/pdf/Barcode.html#setSize(float)">setSize</A>, <A HREF="../../../../com/lowagie/text/pdf/Barcode.html#setStartStopText(boolean)">setStartStopText</A>, <A HREF="../../../../com/lowagie/text/pdf/Barcode.html#setTextAlignment(int)">setTextAlignment</A>, <A HREF="../../../../com/lowagie/text/pdf/Barcode.html#setX(float)">setX</A></CODE></TD>
</TR>
</TABLE>
<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TD><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/Object.html">Object</A></B></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/Object.html#clone()">clone</A>, <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/Object.html#equals(java.lang.Object)">equals</A>, <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/Object.html#finalize()">finalize</A>, <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/Object.html#getClass()">getClass</A>, <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/Object.html#hashCode()">hashCode</A>, <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/Object.html#notify()">notify</A>, <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/Object.html#notifyAll()">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/Object.html#toString()">toString</A>, <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/Object.html#wait()">wait</A>, <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/Object.html#wait(long)">wait</A>, <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/Object.html#wait(long, int)">wait</A></CODE></TD>
</TR>
</TABLE>
<P>
<!-- ============ FIELD DETAIL =========== -->
<A NAME="field_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Field Detail</B></FONT></TD>
</TR>
</TABLE>
<A NAME="BARS"><!-- --></A><H3>
BARS</H3>
<PRE>
static byte[][] <B>BARS</B></PRE>
<DL>
<DD>The bars to generate the code.
<P>
<DL>
</DL>
</DL>
<HR>
<A NAME="BARS_STOP"><!-- --></A><H3>
BARS_STOP</H3>
<PRE>
static byte[] <B>BARS_STOP</B></PRE>
<DL>
<DD>The stop bars.
<P>
<DL>
</DL>
</DL>
<HR>
<A NAME="CODE_AB_TO_C"><!-- --></A><H3>
CODE_AB_TO_C</H3>
<PRE>
public static final char <B>CODE_AB_TO_C</B></PRE>
<DL>
<DD>The charset code change.
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#com.lowagie.text.pdf.Barcode128.CODE_AB_TO_C">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="CODE_AC_TO_B"><!-- --></A><H3>
CODE_AC_TO_B</H3>
<PRE>
public static final char <B>CODE_AC_TO_B</B></PRE>
<DL>
<DD>The charset code change.
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#com.lowagie.text.pdf.Barcode128.CODE_AC_TO_B">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="CODE_BC_TO_A"><!-- --></A><H3>
CODE_BC_TO_A</H3>
<PRE>
public static final char <B>CODE_BC_TO_A</B></PRE>
<DL>
<DD>The charset code change.
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#com.lowagie.text.pdf.Barcode128.CODE_BC_TO_A">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="FNC1"><!-- --></A><H3>
FNC1</H3>
<PRE>
public static final char <B>FNC1</B></PRE>
<DL>
<DD>The code for UCC/EAN-128.
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#com.lowagie.text.pdf.Barcode128.FNC1">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="START_A"><!-- --></A><H3>
START_A</H3>
<PRE>
public static final char <B>START_A</B></PRE>
<DL>
<DD>The start code.
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#com.lowagie.text.pdf.Barcode128.START_A">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="START_B"><!-- --></A><H3>
START_B</H3>
<PRE>
public static final char <B>START_B</B></PRE>
<DL>
<DD>The start code.
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#com.lowagie.text.pdf.Barcode128.START_B">Constant Field Values</A></DL>
</DL>
<HR>
<A NAME="START_C"><!-- --></A><H3>
START_C</H3>
<PRE>
public static final char <B>START_C</B></PRE>
<DL>
<DD>The start code.
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#com.lowagie.text.pdf.Barcode128.START_C">Constant Field Values</A></DL>
</DL>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<A NAME="constructor_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -