|
|||||||||
prev class next class | frames no frames | ||||||||
summary: nested | field | constr | method | detail: field | constr | method |
java.lang.objectcom.spire.pdf.graphics.layer.pdflayercollection
public class pdflayercollection
represent pdf layer collection.
constructor summary | |
---|---|
pdflayercollection( dictoptionalcontentproperties,
pdfdocumentbase documentbase,
crosstable)
construct an instance with the optional content properties dictionary |
|
pdflayercollection(pdfdocumentbase documentbase,
crosstable)
construct an instance |
method summary | |
---|---|
pdflayer |
addlayer(java.lang.string name)
add a new pdf layer. |
pdflayer |
addlayer(java.lang.string name,
pdfvisibility state)
add a new pdf layer. |
pdflayer |
get(int index)
get the pdf layer of the index. |
int |
getcount()
gets the number of pdf layers contained. |
boolean |
removelayer(java.lang.string name)
remove the pdf layer. |
boolean |
removelayer(java.lang.string name,
boolean withcontent)
remove the pdf layer. |
constructor detail |
---|
public pdflayercollection(pdfdocumentbase documentbase, crosstable)
documentbase
- the pdfdocumentbasecrosstable
- the pdf cross tablepublic pdflayercollection( dictoptionalcontentproperties, pdfdocumentbase documentbase, crosstable)
dictoptionalcontentproperties
- the optional content properties dictionarydocumentbase
- the pdfdocumentbase.crosstable
- the pdf cross tablemethod detail |
---|
public pdflayer get(int index)
index
- pdf layer index
public int getcount()
public pdflayer addlayer(java.lang.string name)
name
- pdf layer name.
public pdflayer addlayer(java.lang.string name, pdfvisibility state)
name
- pdf layer name.state
- pdf layer's visibility.
public boolean removelayer(java.lang.string name)
name
- pdf layer name.
public boolean removelayer(java.lang.string name, boolean withcontent)
name
- pdf layer name.withcontent
- if true,remove content with the pdf layer.otherwise,false.
|
|||||||||
prev class next class | frames no frames | ||||||||
summary: nested | field | constr | method | detail: field | constr | method |