Class DocumentProperties

java.lang.Object
com.itextpdf.kernel.pdf.DocumentProperties
Direct Known Subclasses:
StampingProperties

public class DocumentProperties extends Object
Class with additional properties for PdfDocument processing. Needs to be passed at document initialization.
  • Field Details

  • Constructor Details

    • DocumentProperties

      public DocumentProperties()
      Default constructor, use provided setters for configuration options.
    • DocumentProperties

      public DocumentProperties (DocumentProperties other)
      Creates a copy of class instance.
      Parameters:
      other - the base for new class instance
  • Method Details

    • setEventCountingMetaInfo

      public DocumentProperties setEventCountingMetaInfo (IMetaInfo metaInfo)
      Sets document meta info.
      Parameters:
      metaInfo - meta info to set
      Returns:
      this DocumentProperties instance
    • isEventCountingMetaInfoSet

      public boolean isEventCountingMetaInfoSet()
      Checks if the document event counting meta info was already set.
      Returns:
      true if the document event counting meta info is set, false otherwise.