com.itextpdf.text.pdf.ocg
Class OCGRemover
java.lang.Object
com.itextpdf.text.pdf.ocg.OCGRemover
public class OCGRemover
- extends Object
Class that knows how to remove OCG layers.
Method Summary |
void |
removeLayers(com.itextpdf.text.pdf.PdfReader reader,
String... layers)
Removes layers from a PDF document |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OCGRemover
public OCGRemover()
removeLayers
public void removeLayers(com.itextpdf.text.pdf.PdfReader reader,
String... layers)
throws IOException
- Removes layers from a PDF document
- Parameters:
reader
- a PdfReader containing a PDF documentlayers
- a sequence of names of OCG layers
- Throws:
IOException
Copyright © 2013. All Rights Reserved.