Skip to main content
A newer version of this page is available. .
.NET Framework 4.5.2+

SubDocument.EndUpdateCharacters(CharacterProperties) Method

Finalizes the modification of character formatting after calling the SubDocument.BeginUpdateCharacters method.

Namespace: DevExpress.XtraRichEdit.API.Native

Assembly: DevExpress.RichEdit.v19.1.Core.dll


void EndUpdateCharacters(
    CharacterProperties properties


Name Type Description
properties CharacterProperties

A CharacterProperties object containing character properties.


document.AppendText("Normal" & vbLf & "Formatted" & vbLf & "Normal")
' The target range is the second paragraph 
Dim range As DocumentRange = document.Paragraphs(1).Range

' Create and customize an object  
' that sets character formatting for the selected range
Dim cp As CharacterProperties = document.BeginUpdateCharacters(range)
cp.FontName = "Comic Sans MS"
cp.FontSize = 18
cp.ForeColor = Color.Blue
cp.BackColor = Color.Snow
cp.Underline = UnderlineType.DoubleWave
cp.UnderlineColor = Color.Red

' Finalize modifications  
' with this method call 

The following code snippets (auto-collected from DevExpress Examples) contain references to the EndUpdateCharacters(CharacterProperties) method.


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.

See Also