📄 barcodedatamatrix.html
字号:
<CODE>private static int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/lowagie/text/pdf/BarcodeDatamatrix.html#asciiEncodation(byte[], int, int, byte[], int, int)">asciiEncodation</A></B>(byte[] text, int textOffset, int textLength, byte[] data, int dataOffset, int dataLength)</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>private static int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/lowagie/text/pdf/BarcodeDatamatrix.html#b256Encodation(byte[], int, int, byte[], int, int)">b256Encodation</A></B>(byte[] text, int textOffset, int textLength, byte[] data, int dataOffset, int dataLength)</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>private static int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/lowagie/text/pdf/BarcodeDatamatrix.html#C40OrTextEncodation(byte[], int, int, byte[], int, int, boolean)">C40OrTextEncodation</A></B>(byte[] text, int textOffset, int textLength, byte[] data, int dataOffset, int dataLength, boolean c40)</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <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/BarcodeDatamatrix.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> 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> background)</CODE><BR> 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> <A HREF="../../../../com/lowagie/text/Image.html" title="class in com.lowagie.text">Image</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/lowagie/text/pdf/BarcodeDatamatrix.html#createImage()">createImage</A></B>()</CODE><BR> Gets an <CODE>Image</CODE> with the barcode.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>private void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/lowagie/text/pdf/BarcodeDatamatrix.html#draw(byte[], int, com.lowagie.text.pdf.BarcodeDatamatrix.DmParams)">draw</A></B>(byte[] data, int dataSize, <A HREF="../../../../com/lowagie/text/pdf/BarcodeDatamatrix.DmParams.html" title="class in com.lowagie.text.pdf">BarcodeDatamatrix.DmParams</A> dm)</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>private static int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/lowagie/text/pdf/BarcodeDatamatrix.html#EdifactEncodation(byte[], int, int, byte[], int, int)">EdifactEncodation</A></B>(byte[] text, int textOffset, int textLength, byte[] data, int dataOffset, int dataLength)</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/lowagie/text/pdf/BarcodeDatamatrix.html#generate(byte[], int, int)">generate</A></B>(byte[] text, int textOffset, int textSize)</CODE><BR> Creates a barcode.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/lowagie/text/pdf/BarcodeDatamatrix.html#generate(java.lang.String)">generate</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> text)</CODE><BR> Creates a barcode.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>private static int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/lowagie/text/pdf/BarcodeDatamatrix.html#getEncodation(byte[], int, int, byte[], int, int, int, boolean)">getEncodation</A></B>(byte[] text, int textOffset, int textSize, byte[] data, int dataOffset, int dataSize, int options, boolean firstMatch)</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/lowagie/text/pdf/BarcodeDatamatrix.html#getHeight()">getHeight</A></B>()</CODE><BR> Gets the height of the barcode.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> byte[]</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/lowagie/text/pdf/BarcodeDatamatrix.html#getImage()">getImage</A></B>()</CODE><BR> Gets the generated image.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>private static int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/lowagie/text/pdf/BarcodeDatamatrix.html#getNumber(byte[], int, int)">getNumber</A></B>(byte[] text, int ptrIn, int n)</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/lowagie/text/pdf/BarcodeDatamatrix.html#getOptions()">getOptions</A></B>()</CODE><BR> Gets the barcode options.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/lowagie/text/pdf/BarcodeDatamatrix.html#getWidth()">getWidth</A></B>()</CODE><BR> Gets the width of the barcode.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/lowagie/text/pdf/BarcodeDatamatrix.html#getWs()">getWs</A></B>()</CODE><BR> Gets the whitespace border around the barcode.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>private static boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/lowagie/text/pdf/BarcodeDatamatrix.html#isDigit(int)">isDigit</A></B>(int c)</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>private static void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/lowagie/text/pdf/BarcodeDatamatrix.html#makePadding(byte[], int, int)">makePadding</A></B>(byte[] data, int position, int count)</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>private int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/lowagie/text/pdf/BarcodeDatamatrix.html#processExtensions(byte[], int, int, byte[])">processExtensions</A></B>(byte[] text, int textOffset, int textSize, byte[] data)</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>private void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/lowagie/text/pdf/BarcodeDatamatrix.html#setBit(int, int, int)">setBit</A></B>(int x, int y, int xByte)</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/lowagie/text/pdf/BarcodeDatamatrix.html#setHeight(int)">setHeight</A></B>(int height)</CODE><BR> Sets the height of the barcode.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/lowagie/text/pdf/BarcodeDatamatrix.html#setOptions(int)">setOptions</A></B>(int options)</CODE><BR> Sets the options for the barcode generation.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/lowagie/text/pdf/BarcodeDatamatrix.html#setWidth(int)">setWidth</A></B>(int width)</CODE><BR> Sets the width of the barcode.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/lowagie/text/pdf/BarcodeDatamatrix.html#setWs(int)">setWs</A></B>(int ws)</CODE><BR> Sets the whitespace border around the barcode.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>private static int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/lowagie/text/pdf/BarcodeDatamatrix.html#X12Encodation(byte[], int, int, byte[], int, int)">X12Encodation</A></B>(byte[] text, int textOffset, int textLength, byte[] data, int dataOffset, int dataLength)</CODE><BR> </TD></TR></TABLE> <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> <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="DM_NO_ERROR"><!-- --></A><H3>DM_NO_ERROR</H3><PRE>public static final int <B>DM_NO_ERROR</B></PRE><DL><DD>No error.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#com.lowagie.text.pdf.BarcodeDatamatrix.DM_NO_ERROR">Constant Field Values</A></DL></DL><HR><A NAME="DM_ERROR_TEXT_TOO_BIG"><!-- --></A><H3>DM_ERROR_TEXT_TOO_BIG</H3><PRE>public static final int <B>DM_ERROR_TEXT_TOO_BIG</B></PRE><DL><DD>The text is too big for the symbology capabilities.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#com.lowagie.text.pdf.BarcodeDatamatrix.DM_ERROR_TEXT_TOO_BIG">Constant Field Values</A></DL></DL><HR><A NAME="DM_ERROR_INVALID_SQUARE"><!-- --></A><H3>DM_ERROR_INVALID_SQUARE</H3><PRE>public static final int <B>DM_ERROR_INVALID_SQUARE</B></PRE><DL><DD>The dimensions given for the symbol are illegal.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#com.lowagie.text.pdf.BarcodeDatamatrix.DM_ERROR_INVALID_SQUARE">Constant Field Values</A></DL></DL><HR><A NAME="DM_ERROR_EXTENSION"><!-- --></A><H3>DM_ERROR_EXTENSION</H3><PRE>public static final int <B>DM_ERROR_EXTENSION</B></PRE><DL><DD>An error while parsing an extension.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#com.lowagie.text.pdf.BarcodeDatamatrix.DM_ERROR_EXTENSION">Constant Field Values</A></DL></DL><HR><A NAME="DM_AUTO"><!-- --></A><H3>DM_AUTO</H3><PRE>public static final int <B>DM_AUTO</B></PRE><DL><DD>The best encodation will be used.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#com.lowagie.text.pdf.BarcodeDatamatrix.DM_AUTO">Constant Field Values</A></DL></DL><HR><A NAME="DM_ASCII"><!-- --></A><H3>DM_ASCII</H3><PRE>public static final int <B>DM_ASCII</B></PRE><DL><DD>ASCII encodation.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#com.lowagie.text.pdf.BarcodeDatamatrix.DM_ASCII">Constant Field Values</A></DL></DL><HR><A NAME="DM_C40"><!-- --></A><H3>DM_C40</H3><PRE>public static final int <B>DM_C40</B></PRE><DL><DD>C40 encodation.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#com.lowagie.text.pdf.BarcodeDatamatrix.DM_C40">Constant Field Values</A></DL></DL><HR><A NAME="DM_TEXT"><!-- --></A><H3>DM_TEXT</H3><PRE>public static final int <B>DM_TEXT</B></PRE><DL><DD>TEXT encodation.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#com.lowagie.text.pdf.BarcodeDatamatrix.DM_TEXT">Constant Field Values</A></DL></DL>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -