CommentCollection.Create(DocumentPosition, Int32, String) Method
In This Article
Creates a new Comment with the specified settings.
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
)
#Parameters
Name | Type | Description |
---|---|---|
start | Document |
A Document |
length | Int32 | An integer value that specifies the Document |
author | String | A String value that sets the Comment. |
#Returns
Type | Description |
---|---|
Comment | A Comment object. |
#Remarks
Use the Create method to create a comment and add it to the collection of comments in a document.
See Also