Class StampingProperties

java.lang.Object
com.itextpdf.kernel.pdf.DocumentProperties
com.itextpdf.kernel.pdf.StampingProperties

public class StampingProperties extends DocumentProperties
  • Field Details

    • appendMode

      protected boolean appendMode
    • preserveEncryption

      protected boolean preserveEncryption
  • Constructor Details

    • StampingProperties

      public StampingProperties()
    • StampingProperties

      public StampingProperties (StampingProperties other)
  • Method Details

    • useAppendMode

      public StampingProperties useAppendMode()
      Defines if the document will be edited in append mode.
      Returns:
      this StampingProperties instance
    • preserveEncryption

      public StampingProperties preserveEncryption()
      Defines if the encryption of the original document (if it was encrypted) will be preserved. By default, the resultant document doesn't preserve the original encryption.
      Returns:
      this StampingProperties instance