Defines extension methods for the DocumentRange interface.
public static class DocumentRangeExtensions
Public Module DocumentRangeExtensions
To enable range extensions, explicitly import the DevExpress.XtraRichEdit.API.Native namespace into the code with a using directive (Imports in Visual Basic).
Subsequently, all extension methods become accessible as methods of the DocumentRange objects and called by using the instance method syntax.