com.aspose.slides
Interface IComment

All Known Implementing Classes:
Comment

public interface IComment

Represents a comment on a slide.


Method Summary
 ICommentAuthor getAuthor()
           Returns the author of a comment.
 java.util.Date getCreatedTime()
           Returns or sets the time of a comment creation.
 java.awt.geom.Point2D.Float getPosition()
           Returns or sets the position of a comment on a slide.
 ISlide getSlide()
           Returns or sets the parent slide of a comment.
 java.lang.String getText()
           Returns or sets the plain text of a slide comment.
 void remove()
           Removes comment from the parent collection.
 void setCreatedTime(java.util.Date value)
           Returns or sets the time of a comment creation.
 void setPosition(java.awt.geom.Point2D.Float value)
           Returns or sets the position of a comment on a slide.
 void setText(java.lang.String value)
           Returns or sets the plain text of a slide comment.
 

Method Detail

getText

java.lang.String getText()

Returns or sets the plain text of a slide comment. Read/write String.


setText

void setText(java.lang.String value)

Returns or sets the plain text of a slide comment. Read/write String.


getCreatedTime

java.util.Date getCreatedTime()

Returns or sets the time of a comment creation. Setting this property to DateTime.MinValue means no comment time is set. Read/write java.util.Date.


Comment time is an optional parameter.


setCreatedTime

void setCreatedTime(java.util.Date value)

Returns or sets the time of a comment creation. Setting this property to DateTime.MinValue means no comment time is set. Read/write java.util.Date.


Comment time is an optional parameter.


getSlide

ISlide getSlide()

Returns or sets the parent slide of a comment. Read-only ISlide.


getAuthor

ICommentAuthor getAuthor()

Returns the author of a comment. Read-only ICommentAuthor.


getPosition

java.awt.geom.Point2D.Float getPosition()

Returns or sets the position of a comment on a slide. Read/write java.awt.geom.Point2D.Float.


setPosition

void setPosition(java.awt.geom.Point2D.Float value)

Returns or sets the position of a comment on a slide. Read/write java.awt.geom.Point2D.Float.


remove

void remove()

Removes comment from the parent collection.

Throws:
PptxEditException - Thrown if comment is already removed


Copyright © Copyright 2004-2016 Aspose Pty Ltd. All Rights Reserved.