Class FlattenLayers

java.lang.Object
org.jpedal.manipulator.FlattenLayers
All Implemented Interfaces:
org.jpedal.manipulator.Manipulation

public class FlattenLayers extends Object implements org.jpedal.manipulator.Manipulation
Flattens layers
  • Constructor Details

    • FlattenLayers

      public FlattenLayers(PdfManipulator pdfManipulator, PdfOptimizer pdfOptimizer)
      Flatten all the layers within the document.

      Hidden layers are removed and visible layers become permanently visible.

      Parameters:
      pdfManipulator - the PdfManipulator object for the currently loaded document
      pdfOptimizer - the PdfOptimizer object for the currently loaded document