comment-ag凯发旗舰厅



com.spire.presentation
class comment

java.lang.object
  extended by com.spire.presentation.pptobject
      extended by com.spire.presentation.comment

public final class comment
extends pptobject

represents a comment on a slide.


constructor summary
(icommentauthor author, java.lang.string text, islide slide, com.spire.ms.system.drawing.pointf position, com.spire.ms.system.datetime datetime)
           
 
method summary
 java.lang.string getauthorinitials()
          gets the author's initials as a read-only string for a specified comment object
 java.lang.string getauthorname()
          gets a string that represents the author as for a specified comment object.
 java.util.date getdatetime()
          returns the date and time a comment was created.
 float getleft()
          represents the distance in points from the left edge of the comment to the left edge of the slide.
 islide getslide()
          gets or sets the parent slide of a comment.
 java.lang.string gettext()
          returns a string that represents the text in a comment read/write .
 float gettop()
          represents the distance in points from the left edge of the comment to the left edge of the slide.
 void setauthorinitials(java.lang.string value)
          sets the author's initials as a read-only string for a specified comment object
 void setauthorname(java.lang.string value)
          sets a string that represents the author as for a specified comment object.
 void setdatetime(java.util.date value)
           
 void setleft(float value)
           
 void settext(java.lang.string value)
          sets a string that represents the text in a comment read/write .
 void settop(float value)
           
 
methods inherited from class com.spire.presentation.pptobject
checkdisposed, getparent
 
constructor detail

comment

public comment(icommentauthor author,
               java.lang.string text,
               islide slide,
               com.spire.ms.system.drawing.pointf position,
               com.spire.ms.system.datetime datetime)
method detail

gettext

public java.lang.string gettext()
returns a string that represents the text in a comment read/write .
returns:

settext

public void settext(java.lang.string value)
sets a string that represents the text in a comment read/write .

getdatetime

public java.util.date getdatetime()
returns the date and time a comment was created. read/write .
returns:

setdatetime

public void setdatetime(java.util.date value)

getslide

public islide getslide()
gets or sets the parent slide of a comment. read-only .
returns:

getauthorname

public java.lang.string getauthorname()
gets a string that represents the author as for a specified comment object.
returns:

setauthorname

public void setauthorname(java.lang.string value)
sets a string that represents the author as for a specified comment object.

getauthorinitials

public java.lang.string getauthorinitials()
gets the author's initials as a read-only string for a specified comment object
returns:

setauthorinitials

public void setauthorinitials(java.lang.string value)
sets the author's initials as a read-only string for a specified comment object

getleft

public float getleft()
represents the distance in points from the left edge of the comment to the left edge of the slide.
returns:

setleft

public void setleft(float value)

gettop

public float gettop()
represents the distance in points from the left edge of the comment to the left edge of the slide.
returns:

settop

public void settop(float value)


网站地图