pdflayer-ag凯发旗舰厅



com.spire.pdf.graphics.layer
class pdflayer

java.lang.object
  extended by com.spire.pdf.graphics.layer.pdflayer
all implemented interfaces:
ipdfvisibilitygroup, ipdfwrapper

public class pdflayer
extends java.lang.object
implements ipdfvisibilitygroup, ipdfwrapper

represent pdf optional content group. content typically belongs to a single optional content group.


constructor summary
pdflayer( dictoptionalcontentgroup,  config,  crosstable)
           
pdflayer(java.lang.string name,  config,  crosstable)
           
 
method summary
 pdfcanvas creategraphics(pdfcanvas g)
          create the layer graphics.
 java.lang.string getname()
          get pdf layer name.
 pdfvisibility getvisibility()
          get pdf layer visible.
 boolean isshowonui()
          get whether the layer shows on user interface or not.
 void setname(java.lang.string value)
          set pdf layer name.
 void setvisibility(pdfvisibility value)
          set pdf layer visible.
 
constructor detail

pdflayer

public pdflayer(java.lang.string name,
                 config,
                 crosstable)

pdflayer

public pdflayer( dictoptionalcontentgroup,
                 config,
                 crosstable)
method detail

getname

public java.lang.string getname()
get pdf layer name.
returns:
name may be is not unique.

setname

public void setname(java.lang.string value)
set pdf layer name.
parameters:
value - name may be is not unique.

getvisibility

public pdfvisibility getvisibility()
get pdf layer visible.

setvisibility

public void setvisibility(pdfvisibility value)
set pdf layer visible.

isshowonui

public boolean isshowonui()
get whether the layer shows on user interface or not.

creategraphics

public pdfcanvas creategraphics(pdfcanvas g)
create the layer graphics.
parameters:
g - the pdf layer container's graphics.
returns:
the pdf layer graphics.


网站地图