com.cete.dynamicpdf
Class Label


Example: The following example shows how to remove duplicate image data entries in the document using document optimization.

 import com.cete.dynamicpdf.DocumentOptimization;
 import com.cete.dynamicpdf.merger.MergeDocument;


class MyClass
{
  static void Main()
  {
      // Create a PDF Document
      MergeDocument document = new MergeDocument("C:\\DuplicateImagedata.pdf");

      // Set document optimization
      document.setOptimization(new DocumentOptimization());

      // Save the PDF
      document.draw( "C:\\MyDocument.pdf" );
  }
}