com.itextpdf.text.pdf.ocg
Class OCGRemover

java.lang.Object
  extended by com.itextpdf.text.pdf.ocg.OCGRemover

public class OCGRemover
extends Object

Class that knows how to remove OCG layers.


Constructor Summary
OCGRemover()
           
 
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
 

Constructor Detail

OCGRemover

public OCGRemover()
Method Detail

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 document
layers - a sequence of names of OCG layers
Throws:
IOException


Copyright © 2013. All Rights Reserved.