CommentCollection.Create(DocumentPosition, Int32, String, DateTime) Method
In This Article
Creates a comment for the specified range and assigns the comment’s author and creation date.
Namespace: DevExpress.XtraRichEdit.API.Native
Assembly: DevExpress.RichEdit.v24.2.Core.dll
NuGet Package: DevExpress.RichEdit.Core
#Declaration
Comment Create(
DocumentPosition start,
int length,
string author,
DateTime date
)
#Parameters
Name | Type | Description |
---|---|---|
start | Document |
A Document |
length | Int32 | An integer that specifies the number of positions by which a document range extends. |
author | String | A String value that sets the Comment. |
date | Date |
A Date |
#Returns
Type | Description |
---|---|
Comment | A Comment object successfully created. |
#Remarks
The created comment is added to the SubDocument.Comments collection automatically .
See Also