com.crionics.jpdf.creator
Class LayerProperty
java.lang.Object
com.crionics.jpdf.creator.LayerProperty
public final class LayerProperty
- extends java.lang.Object
This class gives access to controls for the layer visual behaviors. Using
these methods you can change the visibility of the layers depending on which
context they are rendered: VIEWING, EXPORTING, PRINTING
|
Constructor Summary |
LayerProperty(PdfOCProperties theocp,
PdfOCG thelayer)
|
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LayerProperty
public LayerProperty(PdfOCProperties theocp,
PdfOCG thelayer)
getName
public java.lang.String getName()
throws PdfException,
java.io.IOException
- Returns the layer name, changing the layer name is a complex operation
which is not supported at this time.
- Returns:
- the layer name
- Throws:
PdfException - Raised if a problem occured while parsing the file.
java.io.IOException - Raised if a problem occured while reading the file.
isVisibleForExporting
public boolean isVisibleForExporting()
isVisibleForPrinting
public boolean isVisibleForPrinting()
isVisibleForViewing
public boolean isVisibleForViewing()
setVisibleForExporting
public void setVisibleForExporting(boolean visible)
throws PdfException,
java.io.IOException
- Throws:
PdfException
java.io.IOException
setVisibleForPrinting
public void setVisibleForPrinting(boolean visible)
throws PdfException,
java.io.IOException
- Throws:
PdfException
java.io.IOException
setVisibleForViewing
public void setVisibleForViewing(boolean visible)
throws PdfException,
java.io.IOException
- Throws:
PdfException
java.io.IOException
Copyright © 1999-2007 Crionics. All Rights Reserved.