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

📄 pdftemplate.html

📁 IText PDF开发工具说明文档,使用很方便。
💻 HTML
📖 第 1 页 / 共 5 页
字号:
<A NAME="PdfTemplate()"><!-- --></A><H3>PdfTemplate</H3><PRE>protected <B>PdfTemplate</B>()</PRE><DL><DD>Creates a <CODE>PdfTemplate</CODE>.<P></DL><HR><A NAME="PdfTemplate(com.lowagie.text.pdf.PdfWriter)"><!-- --></A><H3>PdfTemplate</H3><PRE><B>PdfTemplate</B>(<A HREF="../../../../com/lowagie/text/pdf/PdfWriter.html" title="class in com.lowagie.text.pdf">PdfWriter</A>&nbsp;wr)</PRE><DL><DD>Creates new PdfTemplate<P><DL><DT><B>Parameters:</B><DD><CODE>wr</CODE> - the <CODE>PdfWriter</CODE></DL></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="createTemplate(com.lowagie.text.pdf.PdfWriter, float, float)"><!-- --></A><H3>createTemplate</H3><PRE>public static <A HREF="../../../../com/lowagie/text/pdf/PdfTemplate.html" title="class in com.lowagie.text.pdf">PdfTemplate</A> <B>createTemplate</B>(<A HREF="../../../../com/lowagie/text/pdf/PdfWriter.html" title="class in com.lowagie.text.pdf">PdfWriter</A>&nbsp;writer,                                         float&nbsp;width,                                         float&nbsp;height)</PRE><DL><DD>Creates a new template. <P> Creates a new template that is nothing more than a form XObject. This template can be included in this template or in another template. Templates are only written to the output when the document is closed permitting things like showing text in the first page that is only defined in the last page.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>writer</CODE> - the PdfWriter to use<DD><CODE>width</CODE> - the bounding box width<DD><CODE>height</CODE> - the bounding box height<DT><B>Returns:</B><DD>the created template</DL></DD></DL><HR><A NAME="createTemplate(com.lowagie.text.pdf.PdfWriter, float, float, com.lowagie.text.pdf.PdfName)"><!-- --></A><H3>createTemplate</H3><PRE>static <A HREF="../../../../com/lowagie/text/pdf/PdfTemplate.html" title="class in com.lowagie.text.pdf">PdfTemplate</A> <B>createTemplate</B>(<A HREF="../../../../com/lowagie/text/pdf/PdfWriter.html" title="class in com.lowagie.text.pdf">PdfWriter</A>&nbsp;writer,                                  float&nbsp;width,                                  float&nbsp;height,                                  <A HREF="../../../../com/lowagie/text/pdf/PdfName.html" title="class in com.lowagie.text.pdf">PdfName</A>&nbsp;forcedName)</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="setWidth(float)"><!-- --></A><H3>setWidth</H3><PRE>public void <B>setWidth</B>(float&nbsp;width)</PRE><DL><DD>Sets the bounding width of this template.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>width</CODE> - the bounding width</DL></DD></DL><HR><A NAME="setHeight(float)"><!-- --></A><H3>setHeight</H3><PRE>public void <B>setHeight</B>(float&nbsp;height)</PRE><DL><DD>Sets the bounding height of this template.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>height</CODE> - the bounding height</DL></DD></DL><HR><A NAME="getWidth()"><!-- --></A><H3>getWidth</H3><PRE>public float <B>getWidth</B>()</PRE><DL><DD>Gets the bounding width of this template.<P><DD><DL><DT><B>Returns:</B><DD>width the bounding width</DL></DD></DL><HR><A NAME="getHeight()"><!-- --></A><H3>getHeight</H3><PRE>public float <B>getHeight</B>()</PRE><DL><DD>Gets the bounding height of this template.<P><DD><DL><DT><B>Returns:</B><DD>height the bounding height</DL></DD></DL><HR><A NAME="getBoundingBox()"><!-- --></A><H3>getBoundingBox</H3><PRE>public <A HREF="../../../../com/lowagie/text/Rectangle.html" title="class in com.lowagie.text">Rectangle</A> <B>getBoundingBox</B>()</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="setBoundingBox(com.lowagie.text.Rectangle)"><!-- --></A><H3>setBoundingBox</H3><PRE>public void <B>setBoundingBox</B>(<A HREF="../../../../com/lowagie/text/Rectangle.html" title="class in com.lowagie.text">Rectangle</A>&nbsp;bBox)</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="setLayer(com.lowagie.text.pdf.PdfOCG)"><!-- --></A><H3>setLayer</H3><PRE>public void <B>setLayer</B>(<A HREF="../../../../com/lowagie/text/pdf/PdfOCG.html" title="interface in com.lowagie.text.pdf">PdfOCG</A>&nbsp;layer)</PRE><DL><DD>Sets the layer this template belongs to.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>layer</CODE> - the layer this template belongs to</DL></DD></DL><HR><A NAME="getLayer()"><!-- --></A><H3>getLayer</H3><PRE>public <A HREF="../../../../com/lowagie/text/pdf/PdfOCG.html" title="interface in com.lowagie.text.pdf">PdfOCG</A> <B>getLayer</B>()</PRE><DL><DD>Gets the layer this template belongs to.<P><DD><DL><DT><B>Returns:</B><DD>the layer this template belongs to or <code>null</code> for no layer defined</DL></DD></DL><HR><A NAME="setMatrix(float, float, float, float, float, float)"><!-- --></A><H3>setMatrix</H3><PRE>public void <B>setMatrix</B>(float&nbsp;a,                      float&nbsp;b,                      float&nbsp;c,                      float&nbsp;d,                      float&nbsp;e,                      float&nbsp;f)</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="getMatrix()"><!-- --></A><H3>getMatrix</H3><PRE><A HREF="../../../../com/lowagie/text/pdf/PdfArray.html" title="class in com.lowagie.text.pdf">PdfArray</A> <B>getMatrix</B>()</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="getIndirectReference()"><!-- --></A><H3>getIndirectReference</H3>

⌨️ 快捷键说明

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