com.aspose.diagram

Class Annotation

  • java.lang.Object
    • com.aspose.diagram.Annotation
public class Annotation 
extends java.lang.Object

Contains elements that contain information about comments inserted into a document page.

Property Getters/Setters Summary
Str2ValuegetComment()
Contains the comment text in string format for a shape.
DateValuegetDate()
specifies when a comment was created
intgetDel()
void
setDel(intvalue)
A flag indicating whether the element has been deleted locally. A value of 1 indicates that the element was deleted locally. The value of the property is BOOL integer constant.
DateValuegetEditDate()
Specifies when a comment was last changed
intgetIX()
void
setIX(intvalue)
The zero-based index of the element within its parent element.
IntValuegetLangID()
Indicates the locale ID (LCID) of the language in which the cell formula, text, custom property, or comment was entered.
IntValuegetMarkerIndex()
Specifies the index number assigned to a comment marker.
IntValuegetReviewerID()
Contains the ID number of the reviewer adding markup to the document.
intgetShapeID()
void
setShapeID(intvalue)
The shape ID of the comment.
DoubleValuegetX()
The x-coordinate of the comment marker in page coordinates.
DoubleValuegetY()
The y-coordinate of the comment marker in page coordinates.
 

    • Property Getters/Setters Detail

      • getShapeID/setShapeID

        public int getShapeID() / public void setShapeID(int value)
        
        The shape ID of the comment.
      • getIX/setIX

        public int getIX() / public void setIX(int value)
        
        The zero-based index of the element within its parent element.
      • getDel/setDel

        public int getDel() / public void setDel(int value)
        
        A flag indicating whether the element has been deleted locally. A value of 1 indicates that the element was deleted locally. The value of the property is BOOL integer constant.
      • getX

        public DoubleValue getX()
        
        The x-coordinate of the comment marker in page coordinates.
      • getY

        public DoubleValue getY()
        
        The y-coordinate of the comment marker in page coordinates.
      • getReviewerID

        public IntValue getReviewerID()
        
        Contains the ID number of the reviewer adding markup to the document.
      • getMarkerIndex

        public IntValue getMarkerIndex()
        
        Specifies the index number assigned to a comment marker.
      • getDate

        public DateValue getDate()
        
        specifies when a comment was created
      • getEditDate

        public DateValue getEditDate()
        
        Specifies when a comment was last changed
      • getComment

        public Str2Value getComment()
        
        Contains the comment text in string format for a shape.
      • getLangID

        public IntValue getLangID()
        
        Indicates the locale ID (LCID) of the language in which the cell formula, text, custom property, or comment was entered.