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

📄 pdflayer.html

📁 IText PDF开发工具说明文档,使用很方便。
💻 HTML
📖 第 1 页 / 共 4 页
字号:
<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>on</CODE> - the initial visibility of the layer</DL></DD></DL><HR><A NAME="getUsage()"><!-- --></A><H3>getUsage</H3><PRE>private <A HREF="../../../../com/lowagie/text/pdf/PdfDictionary.html" title="class in com.lowagie.text.pdf">PdfDictionary</A> <B>getUsage</B>()</PRE><DL><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="setCreatorInfo(java.lang.String, java.lang.String)"><!-- --></A><H3>setCreatorInfo</H3><PRE>public void <B>setCreatorInfo</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;creator,                           <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;subtype)</PRE><DL><DD>Used by the creating application to store application-specific data associated with this optional content group.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>creator</CODE> - a text string specifying the application that created the group<DD><CODE>subtype</CODE> - a string defining the type of content controlled by the group. Suggested values include but are not limited to <B>Artwork</B>, for graphic-design or publishing applications, and <B>Technical</B>, for technical designs such as building plans or schematics</DL></DD></DL><HR><A NAME="setLanguage(java.lang.String, boolean)"><!-- --></A><H3>setLanguage</H3><PRE>public void <B>setLanguage</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;lang,                        boolean&nbsp;preferred)</PRE><DL><DD>Specifies the language of the content controlled by this optional content group<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>lang</CODE> - a language string which specifies a language and possibly a locale (for example, <B>es-MX</B> represents Mexican Spanish)<DD><CODE>preferred</CODE> - used by viewer applications when there is a partial match but no exact match between the system language and the language strings in all usage dictionaries</DL></DD></DL><HR><A NAME="setExport(boolean)"><!-- --></A><H3>setExport</H3><PRE>public void <B>setExport</B>(boolean&nbsp;export)</PRE><DL><DD>Specifies the recommended state for content in this group when the document (or part of it) is saved by a viewer application to a format that does not support optional content (for example, an earlier version of PDF or a raster image format).<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>export</CODE> - the export state</DL></DD></DL><HR><A NAME="setZoom(float, float)"><!-- --></A><H3>setZoom</H3><PRE>public void <B>setZoom</B>(float&nbsp;min,                    float&nbsp;max)</PRE><DL><DD>Specifies a range of magnifications at which the content in this optional content group is best viewed.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>min</CODE> - the minimum recommended magnification factors at which the group should be ON. A negative value will set the default to 0<DD><CODE>max</CODE> - the maximum recommended magnification factor at which the group should be ON. A negative value will set the largest possible magnification supported by the viewer application</DL></DD></DL><HR><A NAME="setPrint(java.lang.String, boolean)"><!-- --></A><H3>setPrint</H3><PRE>public void <B>setPrint</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;subtype,                     boolean&nbsp;printstate)</PRE><DL><DD>Specifies that the content in this group is intended for use in printing<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>subtype</CODE> - a name specifying the kind of content controlled by the group; for example, <B>Trapping</B>, <B>PrintersMarks</B> and <B>Watermark</B><DD><CODE>printstate</CODE> - indicates that the group should be set to that state when the document is printed from a viewer application</DL></DD></DL><HR><A NAME="setView(boolean)"><!-- --></A><H3>setView</H3><PRE>public void <B>setView</B>(boolean&nbsp;view)</PRE><DL><DD>Indicates that the group should be set to that state when the document is opened in a viewer application.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>view</CODE> - the view state</DL></DD></DL><HR><A NAME="isOnPanel()"><!-- --></A><H3>isOnPanel</H3><PRE>public boolean <B>isOnPanel</B>()</PRE><DL><DD>Gets the layer visibility in Acrobat's layer panel<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the layer visibility in Acrobat's layer panel</DL></DD></DL><HR><A NAME="setOnPanel(boolean)"><!-- --></A><H3>setOnPanel</H3><PRE>public void <B>setOnPanel</B>(boolean&nbsp;onPanel)</PRE><DL><DD>Sets the visibility of the layer in Acrobat's layer panel. If <CODE>false</CODE> the layer cannot be directly manipulated by the user. Note that any children layers will also be absent from the panel.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>onPanel</CODE> - the visibility of the layer in Acrobat's layer panel</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/PdfIndirectReference.html" title="class in com.lowagie.text.pdf"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../../../com/lowagie/text/pdf/PdfLayerMembership.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/PdfLayer.html" target="_top"><B>FRAMES</B></A>  &nbsp;&nbsp;<A HREF="PdfLayer.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 + -