com.aspose.pdf

Interfaces

Classes

Enums

Exceptions

com.aspose.pdf

Class MarkupAnnotation

    • Constructor Detail

      • MarkupAnnotation

        public MarkupAnnotation(IDocument document)

        Constructor for markup annotation.

        Parameters:
        document - Document where annotation will be created.
      • MarkupAnnotation

        public MarkupAnnotation()
        Constructor
    • Method Detail

      • getTitle

        public String getTitle()

        Gets a text that shall be displayed in title bar of annotation.

        Specified by:
        getTitle in interface com.aspose.pdf.engine.ITitledAnnotation
        Returns:
        String value
      • setTitle

        public void setTitle(String value)

        Sets a text that shall be displayed in title bar of annotation.

        Specified by:
        setTitle in interface com.aspose.pdf.engine.ITitledAnnotation
        Parameters:
        value - String value
      • getRichText

        public String getRichText()

        Gets a rich text string to be displayed in the pop-up window when the annotation is opened.

        Returns:
        String value
      • setRichText

        public void setRichText(String value)

        Sets a rich text string to be displayed in the pop-up window when the annotation is opened.

        Parameters:
        value - String value
      • getCreationDate

        public Date getCreationDate()

        Gets date and time when annotation was created.

        Returns:
        Date object
      • getSubject

        public String getSubject()

        Gets text representing desciption of the object.

        Returns:
        String value
      • setSubject

        public void setSubject(String value)

        Sets text representing desciption of the object.

        Parameters:
        value - String value
      • getPopup

        public PopupAnnotation getPopup()

        Pop-up annotation for entering or editing the text associated with this annotation.

        Returns:
        PopupAnnotation value
      • setPopup

        public void setPopup(PopupAnnotation value)

        Pop-up annotation for entering or editing the text associated with this annotation.

        Parameters:
        value - PopupAnnotation value
      • getOpacity

        public double getOpacity()

        Gets the constant opacity value to be used in painting the annotation.

        Returns:
        double value
      • setOpacity

        public void setOpacity(double value)

        Sets the constant opacity value to be used in painting the annotation.

        Parameters:
        value - double value
      • getInReplyTo

        public Annotation getInReplyTo()

        A reference to the annotation that this annotation is "in reply to". Both annotations must be on the same page of the document.

        Returns:
        Annotation value
      • setInReplyTo

        public void setInReplyTo(Annotation value)

        A reference to the annotation that this annotation is "in reply to". Both annotations must be on the same page of the document.

        Parameters:
        value - Annotation value
      • getReplyType

        public int getReplyType()

        A string specifying the relationship (the "reply type") between this annotation and one specified by InReplyTo.

        Returns:
        ReplyType value
        See Also:
        ReplyType
      • setReplyType

        public void setReplyType(int value)

        A string specifying the relationship (the "reply type") between this annotation and one specified by InReplyTo.

        Parameters:
        value - ReplyType value
        See Also:
        ReplyType