com.groupdocs.watermark

Interfaces

Classes

Exceptions

com.groupdocs.watermark

Class DocumentInfo



  • public class DocumentInfo
    extends Object

    Provides basic information about a document.

    • Method Detail

      • getFileFormat

        public final int getFileFormat()

        Gets detected file format.

        Returns:
        The file format.
      • isEncrypted

        public final boolean isEncrypted()

        Gets a value indicating whether the document is encrypted and requires a password to open.

        Returns:
        True if the document is encrypted and requires a password to open; otherwise, false.