officefileapi-devexpress-dot-xtrarichedit-dot-api-dot-native-dot-comment-dot-endupdate-x28-devexpress-dot-xtrarichedit-dot-api-dot-native-dot-subdocument-x29.md
Finalizes editing the comment’s content.
Namespace : DevExpress.XtraRichEdit.API.Native
Assembly : DevExpress.RichEdit.v25.2.Core.dll
NuGet Package : DevExpress.RichEdit.Core
void EndUpdate(
SubDocument document
)
Sub EndUpdate(
document As SubDocument
)
| Name | Type | Description |
|---|---|---|
| document | SubDocument |
A SubDocument object obtained by the Comment.BeginUpdate method.
|
The following code snippets (auto-collected from DevExpress Examples) contain references to the EndUpdate(SubDocument) method.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.
winforms-richedit-document-api/CS/RichEditAPISample/CodeExamples/Comments.cs#L72
commentDocument.Tables.Create(commentDocument.CreatePosition(9), 5, 4);
comment.EndUpdate(commentDocument);
}
word-document-api-examples/CS/CodeExamples/CommentsActions.cs#L59
commentDocument.InsertText(commentDocument.Range.Start, "I agree");
newComment.EndUpdate(commentDocument);
}
winforms-richedit-iterate-through-all-sub-documents/CS/SubDocumentHelper.cs#L54
subDocumentProcessor(commentSubDocument);
comment.EndUpdate(commentSubDocument);
}
wpf-richedit-document-api/CS/DXRichEditControlAPISample/CodeExamples/CommentsActions.cs#L95
commentDocument.Tables.Create(commentDocument.CreatePosition(13), 5, 4);
comment.EndUpdate(commentDocument);
}
word-document-api-iterate-through-all-sub-documents/CS/SubDocumentHelper.cs#L54
subDocumentProcessor(commentSubDocument);
comment.EndUpdate(commentSubDocument);
}
winforms-richedit-document-api/VB/RichEditAPISample/CodeExamples/Comments.vb#L64
commentDocument.Tables.Create(commentDocument.CreatePosition(9), 5, 4)
comment.EndUpdate(commentDocument)
End If
word-document-api-examples/VB/CodeExamples/CommentsActions.vb#L53
commentDocument.InsertText(commentDocument.Range.Start, "I agree")
newComment.EndUpdate(commentDocument)
End If
winforms-richedit-iterate-through-all-sub-documents/VB/SubDocumentHelper.vb#L48
subDocumentProcessor(commentSubDocument)
comment.EndUpdate(commentSubDocument)
Next
wpf-richedit-document-api/VB/DXRichEditControlAPISample/CodeExamples/CommentsActions.vb#L84
commentDocument.Tables.Create(commentDocument.CreatePosition(13), 5, 4)
comment.EndUpdate(commentDocument)
End If
word-document-api-iterate-through-all-sub-documents/VB/SubDocumentHelper.vb#L48
subDocumentProcessor(commentSubDocument)
comment.EndUpdate(commentSubDocument)
Next
See Also