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

📄 pdfdestination.html

📁 IText PDF开发工具说明文档,使用很方便。
💻 HTML
📖 第 1 页 / 共 3 页
字号:
<DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#com.lowagie.text.pdf.PdfDestination.FITBV">Constant Field Values</A></DL></DL><HR><A NAME="status"><!-- --></A><H3>status</H3><PRE>private boolean <B>status</B></PRE><DL><DD>Is the indirect reference to a page already added?<P><DL></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="PdfDestination(int)"><!-- --></A><H3>PdfDestination</H3><PRE>public <B>PdfDestination</B>(int&nbsp;type)</PRE><DL><DD>Constructs a new <CODE>PdfDestination</CODE>. <P> If <VAR>type</VAR> equals <VAR>FITB</VAR>, the bounding box of a page will fit the window of the Reader. Otherwise the type will be set to <VAR>FIT</VAR> so that the entire page will fit to the window.<P><DL><DT><B>Parameters:</B><DD><CODE>type</CODE> - The destination type</DL></DL><HR><A NAME="PdfDestination(int, float)"><!-- --></A><H3>PdfDestination</H3><PRE>public <B>PdfDestination</B>(int&nbsp;type,                      float&nbsp;parameter)</PRE><DL><DD>Constructs a new <CODE>PdfDestination</CODE>. <P> If <VAR>type</VAR> equals <VAR>FITBH</VAR> / <VAR>FITBV</VAR>, the width / height of the bounding box of a page will fit the window of the Reader. The parameter will specify the y / x coordinate of the top / left edge of the window. If the <VAR>type</VAR> equals <VAR>FITH</VAR> or <VAR>FITV</VAR> the width / height of the entire page will fit the window and the parameter will specify the y / x coordinate of the top / left edge. In all other cases the type will be set to <VAR>FITH</VAR>.<P><DL><DT><B>Parameters:</B><DD><CODE>type</CODE> - the destination type<DD><CODE>parameter</CODE> - a parameter to combined with the destination type</DL></DL><HR><A NAME="PdfDestination(int, float, float, float)"><!-- --></A><H3>PdfDestination</H3><PRE>public <B>PdfDestination</B>(int&nbsp;type,                      float&nbsp;left,                      float&nbsp;top,                      float&nbsp;zoom)</PRE><DL><DD>Constructs a new <CODE>PdfDestination</CODE>. <P> Display the page, with the coordinates (left, top) positioned at the top-left corner of the window and the contents of the page magnified by the factor zoom. A negative value for any of the parameters left or top, or a zoom value of 0 specifies that the current value of that parameter is to be retained unchanged.<P><DL><DT><B>Parameters:</B><DD><CODE>type</CODE> - must be a <VAR>PdfDestination.XYZ</VAR><DD><CODE>left</CODE> - the left value. Negative to place a null<DD><CODE>top</CODE> - the top value. Negative to place a null<DD><CODE>zoom</CODE> - The zoom factor. A value of 0 keeps the current value</DL></DL><HR><A NAME="PdfDestination(int, float, float, float, float)"><!-- --></A><H3>PdfDestination</H3><PRE>public <B>PdfDestination</B>(int&nbsp;type,                      float&nbsp;left,                      float&nbsp;bottom,                      float&nbsp;right,                      float&nbsp;top)</PRE><DL><DD>Constructs a new <CODE>PdfDestination</CODE>. <P> Display the page, with its contents magnified just enough to fit the rectangle specified by the coordinates left, bottom, right, and top entirely within the window both horizontally and vertically. If the required horizontal and vertical magnification factors are different, use the smaller of the two, centering the rectangle within the window in the other dimension.<P><DL><DT><B>Parameters:</B><DD><CODE>type</CODE> - must be PdfDestination.FITR<DD><CODE>left</CODE> - a parameter<DD><CODE>bottom</CODE> - a parameter<DD><CODE>right</CODE> - a parameter<DD><CODE>top</CODE> - a parameter<DT><B>Since:</B></DT>  <DD>iText0.38</DD></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="hasPage()"><!-- --></A><H3>hasPage</H3><PRE>public boolean <B>hasPage</B>()</PRE><DL><DD>Checks if an indirect reference to a page has been added.<P><DD><DL><DT><B>Returns:</B><DD><CODE>true</CODE> or <CODE>false</CODE></DL></DD></DL><HR><A NAME="addPage(com.lowagie.text.pdf.PdfIndirectReference)"><!-- --></A><H3>addPage</H3><PRE>public boolean <B>addPage</B>(<A HREF="../../../../com/lowagie/text/pdf/PdfIndirectReference.html" title="class in com.lowagie.text.pdf">PdfIndirectReference</A>&nbsp;page)</PRE><DL><DD>Adds the indirect reference of the destination page.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>page</CODE> - an indirect reference<DT><B>Returns:</B><DD>true if the page reference was added</DL></DD></DL><!-- ========= END OF CLASS DATA ========= --><HR><!-- ======= START OF BOTTOM NAVBAR ====== --><A NAME="navbar_bottom"><!-- --></A><A HREF="#skip-navbar_bottom" title="Skip navigation links"></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""><TR><TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">  <TR ALIGN="center" VALIGN="top">  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>  </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>Hosted by <a href="http://www.hostbasket.com/">Hostbasket</a></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">&nbsp;<A HREF="../../../../com/lowagie/text/pdf/PdfDate.html" title="class in com.lowagie.text.pdf"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../../../com/lowagie/text/pdf/PdfDictionary.html" title="class in com.lowagie.text.pdf"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">  <A HREF="../../../../index.html?com/lowagie/text/pdf/PdfDestination.html" target="_top"><B>FRAMES</B></A>  &nbsp;&nbsp;<A HREF="PdfDestination.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;&nbsp;<SCRIPT type="text/javascript">  <!--  if(window==top) {    document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');  }  //--></SCRIPT><NOSCRIPT>  <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A></NOSCRIPT></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><A NAME="skip-navbar_bottom"></A><!-- ======== END OF BOTTOM NAVBAR ======= --><HR></BODY></HTML>

⌨️ 快捷键说明

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