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

RichEditDocumentServer Events

A non-visual .NET library providing all the word processing functionality.
Name Description
AfterExport Occurs after the document is successfully exported.
BeforeExport Occurs before the document is saved (exported to a certain format).
BeforeImport Occurs before a document is loaded (imported from an external source).
BeforePagePaint Enables you to specify a custom PagePainter descendant to alter the way the layout elements are drawn.
CalculateDocumentVariable Fires when the DOCVARIABLE field is updated.
CommentInserted Occurs after a new comment is created in the document.
ContentChanged Occurs when the document content was changed.
CustomPropertiesChanged Occurs when one of the DocumentCustomProperties has changed.
DecryptionFailed Occurs if the RichEditDocumentServer failed to open an encrypted file.
DocBytesChanged For internal use.
DocmBytesChanged For internal use
DocumentClosing Occurs when a document that has not yet been saved is about to be closed.
DocumentEncryptionChanged Occurs after one of the DocumentEncryption properties has been changed.
DocumentLoaded Occurs after a document is loaded.
DocumentPropertiesChanged Occurs after one of the DocumentProperties has changed.
DotBytesChanged For internal use.
DotmBytesChanged For internal use.
DotxBytesChanged For internal use.
EmptyDocumentCreated Occurs when a new document is created.
EncryptedFileIntegrityCheckFailed Raises when the encrypted file did not pass the data integrity verification.
EncryptedFilePasswordCheckFailed Occurs when the encryption password is empty or invalid.
EncryptedFilePasswordRequested Raises when the RichEditDocumentImportOptions.EncryptionPassword property is not set or returns an invalid password.
FlatOpcBytesChanged For internal use.
FlatOpcMacroEnabledBytesChanged For internal use.
FlatOpcMacroEnabledTemplateBytesChanged For internal use.
FlatOpcTemplateBytesChanged For internal use.
HtmlTextChanged For internal use.
InitializeDocument Occurs before a document is loaded. Handle this event to set initial document settings.
InvalidFormatException Fires when the supplied data could not be recognized as data in the assumed format for import.
MailMergeFinished Fires when mail merge is completed.
MailMergeRecordFinished Fires after each data record is merged with the document in the mail merge process.
MailMergeRecordStarted Fires before each data record is merged with the document in the mail merge process.
MailMergeStarted Fires before mail merge starts.
MhtTextChanged For internal use.
ModifiedChanged Occurs when the value of the RichEditDocumentServer.Modified property is changed.
OpenDocumentBytesChanged For internal use.
OpenXmlBytesChanged For internal use.
RtfTextChanged For internal use.
SelectionChanged Fires in response to changing a selection in the document.
TrackedMovesConflict Occurs when moved text has been changed since it was moved.
UnhandledException This event is raised when an exception unhandled by the RichEditDocumentServer occurs.
WordMLTextChanged For internal use.
See Also