com.groupdocs.watermark

Interfaces

Classes

Exceptions

com.groupdocs.watermark

Class PdfAttachment



  • public class PdfAttachment
    extends Attachment

    Represents a file attached to a pdf document.

    • Method Detail

      • getName

        public final String getName()

        Gets the name of the attached file.

        Returns:
        The name of the attached file.
      • setName

        public final void setName(String value)

        Sets the name of the attached file.

        Parameters:
        value - The name of the attached file.
      • getDescription

        public final String getDescription()

        Gets the description of the attached file.

        Returns:
        The description of the attached file.
      • setDescription

        public final void setDescription(String value)

        Sets the description of the attached file.

        Parameters:
        value - The description of the attached file.
      • getContent

        public byte[] getContent()

        Gets the attached file content.

        Specified by:
        getContent in class Attachment
        Returns:
        The attached file content.
      • setContent

        public void setContent(byte[] value)

        Sets the attached file content.

        Specified by:
        setContent in class Attachment
        Parameters:
        value - The attached file content.