Occurs before a document is loaded. Handle this event to set initial document settings.
public event EventHandler InitializeDocument
event Public InitializeDocument As EventHandler
The event handler receives an argument of type System.EventArgs containing data related to this event.
By handling this InitializeDocument event you can specify initial document settings, such as DevExpress.XtraRichEdit.API.Native.Document.DefaultCharacterProperties, DevExpress.XtraRichEdit.API.Native.Document.DefaultParagraphProperties, DevExpress.XtraRichEdit.API.Native.Section.Page settings, DevExpress.XtraRichEdit.API.Native.Section.LineNumbering settings and tab stops via the DevExpress.XtraRichEdit.API.Native.Paragraph.BeginUpdateTabs method etc.
Do not use this event to switch views or set view properties.