Skip to main content
.NET Framework 4.5.2+

RichEditDocumentServer.InitializeDocument Event

Occurs before a document is loaded. Handle this event to set initial document settings.

Namespace: DevExpress.XtraRichEdit

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


public event EventHandler InitializeDocument

Event Data

The InitializeDocument event's data class is EventArgs.


By handling this InitializeDocument event you can specify initial document settings, such as Document.DefaultCharacterProperties, Document.DefaultParagraphProperties, Section.Page settings, Section.LineNumbering settings and tab stops via the Paragraph.BeginUpdateTabs method etc.


See Also