📄 pdftemplate.html
字号:
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Constructor Summary</B></FONT></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected </CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/lowagie/text/pdf/PdfTemplate.html#PdfTemplate()">PdfTemplate</A></B>()</CODE>
<BR>
Creates a <CODE>PdfTemplate</CODE>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>(package private)</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/lowagie/text/pdf/PdfTemplate.html#PdfTemplate(com.lowagie.text.pdf.PdfWriter)">PdfTemplate</A></B>(<A HREF="../../../../com/lowagie/text/pdf/PdfWriter.html">PdfWriter</A> wr)</CODE>
<BR>
Creates new PdfTemplate</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> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/lowagie/text/pdf/PdfTemplate.html#addImage(com.lowagie.text.Image, float, float, float, float, float, float)">addImage</A></B>(<A HREF="../../../../com/lowagie/text/Image.html">Image</A> image, float a, float b, float c, float d, float e, float f)</CODE>
<BR>
Adds an <CODE>Image</CODE> to this template. </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/PdfTemplate.html#addTemplate(com.lowagie.text.pdf.PdfTemplate, float, float, float, float, float, float)">addTemplate</A></B>(<A HREF="../../../../com/lowagie/text/pdf/PdfTemplate.html">PdfTemplate</A> template, float a, float b, float c, float d, float e, float f)</CODE>
<BR>
Adds a template to this template.</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/PdfTemplate.html#beginVariableText()">beginVariableText</A></B>()</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/PdfTemplate.html#endVariableText()">endVariableText</A></B>()</CODE>
<BR>
</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/PdfTemplate.html#getBoundingBox()">getBoundingBox</A></B>()</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="../../../../com/lowagie/text/pdf/PdfContentByte.html">PdfContentByte</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/lowagie/text/pdf/PdfTemplate.html#getDuplicate()">getDuplicate</A></B>()</CODE>
<BR>
Gets a duplicate of this <CODE>PdfTemplate</CODE>. </TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>(package private) <A HREF="../../../../com/lowagie/text/pdf/PdfStream.html">PdfStream</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/lowagie/text/pdf/PdfTemplate.html#getFormXObject()">getFormXObject</A></B>()</CODE>
<BR>
Gets the stream representing this template.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> float</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/lowagie/text/pdf/PdfTemplate.html#getHeight()">getHeight</A></B>()</CODE>
<BR>
Gets the bounding heigth of this template.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>(package private) <A HREF="../../../../com/lowagie/text/pdf/PdfIndirectReference.html">PdfIndirectReference</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/lowagie/text/pdf/PdfTemplate.html#getIndirectReference()">getIndirectReference</A></B>()</CODE>
<BR>
Gets the indirect reference to this template.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>(package private) <A HREF="../../../../com/lowagie/text/pdf/PdfArray.html">PdfArray</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/lowagie/text/pdf/PdfTemplate.html#getMatrix()">getMatrix</A></B>()</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>(package private) <A HREF="../../../../com/lowagie/text/pdf/PdfObject.html">PdfObject</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/lowagie/text/pdf/PdfTemplate.html#getResources()">getResources</A></B>()</CODE>
<BR>
Constructs the resources used by this template.</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/PdfTemplate.html#getType()">getType</A></B>()</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> float</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/lowagie/text/pdf/PdfTemplate.html#getWidth()">getWidth</A></B>()</CODE>
<BR>
Gets the bounding width of this template.</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/PdfTemplate.html#paintShading(com.lowagie.text.pdf.PdfShading)">paintShading</A></B>(<A HREF="../../../../com/lowagie/text/pdf/PdfShading.html">PdfShading</A> shading)</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/PdfTemplate.html#setBoundingBox(com.lowagie.text.Rectangle)">setBoundingBox</A></B>(<A HREF="../../../../com/lowagie/text/Rectangle.html">Rectangle</A> bBox)</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/PdfTemplate.html#setColorFill(com.lowagie.text.pdf.PdfSpotColor, float)">setColorFill</A></B>(<A HREF="../../../../com/lowagie/text/pdf/PdfSpotColor.html">PdfSpotColor</A> sp, float tint)</CODE>
<BR>
Sets the fill color to a spot color.</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/PdfTemplate.html#setColorStroke(com.lowagie.text.pdf.PdfSpotColor, float)">setColorStroke</A></B>(<A HREF="../../../../com/lowagie/text/pdf/PdfSpotColor.html">PdfSpotColor</A> sp, float tint)</CODE>
<BR>
Sets the stroke color to a spot color.</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/PdfTemplate.html#setFontAndSize(com.lowagie.text.pdf.BaseFont, float)">setFontAndSize</A></B>(<A HREF="../../../../com/lowagie/text/pdf/BaseFont.html">BaseFont</A> bf, float size)</CODE>
<BR>
Set the font and the size for the subsequent text writing.</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/PdfTemplate.html#setHeight(float)">setHeight</A></B>(float height)</CODE>
<BR>
Sets the bounding heigth of this template.</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/PdfTemplate.html#setMatrix(float, float, float, float, float, float)">setMatrix</A></B>(float a, float b, float c, float d, float e, float f)</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/PdfTemplate.html#setPatternFill(com.lowagie.text.pdf.PdfPatternPainter)">setPatternFill</A></B>(<A HREF="../../../../com/lowagie/text/pdf/PdfPatternPainter.html">PdfPatternPainter</A> p)</CODE>
<BR>
Sets the fill color to a pattern. </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/PdfTemplate.html#setPatternFill(com.lowagie.text.pdf.PdfPatternPainter, java.awt.Color, float)">setPatternFill</A></B>(<A HREF="../../../../com/lowagie/text/pdf/PdfPatternPainter.html">PdfPatternPainter</A> p, <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/awt/Color.html">Color</A> color, float tint)</CODE>
<BR>
Sets the fill color to an uncolored pattern.</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/PdfTemplate.html#setPatternStroke(com.lowagie.text.pdf.PdfPatternPainter)">setPatternStroke</A></B>(<A HREF="../../../../com/lowagie/text/pdf/PdfPatternPainter.html">PdfPatternPainter</A> p)</CODE>
<BR>
Sets the stroke color to a pattern. </TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -