commentmark-ag凯发旗舰厅
com.spire.doc.documents
class commentmark
java.lang.object
com.spire.doc.ownerholder
com.spire.doc.documents.xml.documentserializable
com.spire.doc.documentobject
com.spire.doc.documentbase
com.spire.doc.fields.paragraphbase
com.spire.doc.documents.commentmark
- all implemented interfaces:
- irunattrsource, idocumentobject, iparagraphbase
public class commentmark
- extends paragraphbase
represents a container for text of a comment.
class represents comment start marker
commentmark
public commentmark(idocument doc)
- initializes a new instance of the commentmark class.
- parameters:
doc
- the doc.
getcommentid
public int getcommentid()
- gets the id of the comment this mark refers to.
- returns:
- the comment id.
setcommentid
public void setcommentid(int value)
- sets the id of the comment this mark refers to.
- parameters:
value
- the comment id.
getdocumentobjecttype
public documentobjecttype getdocumentobjecttype()
- gets the type of the document object.
- specified by:
getdocumentobjecttype
in interface idocumentobject
- specified by:
getdocumentobjecttype
in class documentobject
- returns:
- the type of the document object.
gettype
public commentmarktype gettype()
- gets the type of the commentmark.
- returns:
- the type.
settype
public void settype(commentmarktype value)
- sets the type of the commentmark.
- parameters:
value
- the type.