RadDocument.MergeSpansWithSameStyles Method
Click or drag to resize
RadDocumentMergeSpansWithSameStyles Method
Merges adjacent spans with same style properties into one.

Namespace: Telerik.Windows.Documents.Model
Assembly: Telerik.Windows.Documents (in Telerik.Windows.Documents.dll) Version: 2018.2.515.40 (2018.2.515.40)
public void MergeSpansWithSameStyles()

This method is automatically called when document is measured during the layout process.

Calling it explicitly is generally not needed and may only be useful in case spans are manually added to Paragraph.Inlines collection.

See Also