⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 barcode39.html

📁 IText PDF开发工具说明文档,使用很方便。
💻 HTML
📖 第 1 页 / 共 3 页
字号:
<TD><CODE><B><A HREF="../../../../com/lowagie/text/pdf/Barcode39.html#Barcode39()">Barcode39</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a new Barcode39.</TD></TR></TABLE>&nbsp;<!-- ========== METHOD SUMMARY =========== --><A NAME="method_summary"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"><B>Method Summary</B></FONT></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/Image.html?is-external=true" title="class or interface in java.awt">Image</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/lowagie/text/pdf/Barcode39.html#createAwtImage(java.awt.Color, java.awt.Color)">createAwtImage</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/Color.html?is-external=true" title="class or interface in java.awt">Color</A>&nbsp;foreground,               <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/Color.html?is-external=true" title="class or interface in java.awt">Color</A>&nbsp;background)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a <CODE>java.awt.Image</CODE>.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../../com/lowagie/text/Rectangle.html" title="class in com.lowagie.text">Rectangle</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/lowagie/text/pdf/Barcode39.html#getBarcodeSize()">getBarcodeSize</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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&nbsp;byte[]</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/lowagie/text/pdf/Barcode39.html#getBarsCode39(java.lang.String)">getBarsCode39</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;text)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates the bars.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>(package private) static&nbsp;char</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/lowagie/text/pdf/Barcode39.html#getChecksum(java.lang.String)">getChecksum</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;text)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Calculates the checksum.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/lowagie/text/pdf/Barcode39.html#getCode39Ex(java.lang.String)">getCode39Ex</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;text)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Converts the extended text into a normal, escaped text, ready to generate bars.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../../com/lowagie/text/Rectangle.html" title="class in com.lowagie.text">Rectangle</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/lowagie/text/pdf/Barcode39.html#placeBarcode(com.lowagie.text.pdf.PdfContentByte, java.awt.Color, java.awt.Color)">placeBarcode</A></B>(<A HREF="../../../../com/lowagie/text/pdf/PdfContentByte.html" title="class in com.lowagie.text.pdf">PdfContentByte</A>&nbsp;cb,             <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/Color.html?is-external=true" title="class or interface in java.awt">Color</A>&nbsp;barColor,             <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/Color.html?is-external=true" title="class or interface in java.awt">Color</A>&nbsp;textColor)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Places the barcode in a <CODE>PdfContentByte</CODE>.</TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_com.lowagie.text.pdf.Barcode"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TH ALIGN="left"><B>Methods inherited from class com.lowagie.text.pdf.<A HREF="../../../../com/lowagie/text/pdf/Barcode.html" title="class in com.lowagie.text.pdf">Barcode</A></B></TH></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#getAltText()">getAltText</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#getInkSpreading()">getInkSpreading</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#setAltText(java.lang.String)">setAltText</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#setInkSpreading(float)">setInkSpreading</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>&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></B></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD></TR></TABLE>&nbsp;<P><!-- ============ FIELD DETAIL =========== --><A NAME="field_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"><B>Field Detail</B></FONT></TH></TR></TABLE><A NAME="BARS"><!-- --></A><H3>BARS</H3><PRE>private static final byte[][] <B>BARS</B></PRE><DL><DD>The bars to generate the code.<P><DL></DL></DL><HR><A NAME="CHARS"><!-- --></A><H3>CHARS</H3><PRE>private static final <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>CHARS</B></PRE><DL><DD>The index chars to <CODE>BARS</CODE>.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#com.lowagie.text.pdf.Barcode39.CHARS">Constant Field Values</A></DL></DL><HR><A NAME="EXTENDED"><!-- --></A><H3>EXTENDED</H3><PRE>private static final <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>EXTENDED</B></PRE><DL><DD>The character combinations to make the code 39 extended.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#com.lowagie.text.pdf.Barcode39.EXTENDED">Constant Field Values</A></DL></DL><!-- ========= CONSTRUCTOR DETAIL ======== --><A NAME="constructor_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"><B>Constructor Detail</B></FONT></TH></TR></TABLE><A NAME="Barcode39()"><!-- --></A><H3>Barcode39</H3><PRE>public <B>Barcode39</B>()</PRE><DL><DD>Creates a new Barcode39.<P></DL><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"><B>Method Detail</B></FONT></TH></TR></TABLE><A NAME="getBarsCode39(java.lang.String)"><!-- --></A><H3>getBarsCode39</H3><PRE>public static byte[] <B>getBarsCode39</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;text)</PRE><DL><DD>Creates the bars.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>text</CODE> - the text to create the bars. This text does not include the start and stop characters<DT><B>Returns:</B><DD>the bars</DL></DD></DL><HR>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -