Skip to main content
A newer version of this page is available. .

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.
DocBytesChanged This member supports the internal infrastructure and is not intended to be used directly from your code.
DocumentClosing Occurs when a document that has not yet been saved is about to be closed.
DocumentLoaded Occurs after a document is loaded.
DocumentPropertiesChanged Occurs after one of the DocumentProperties has changed.
EmptyDocumentCreated Occurs when a new document is created.
HtmlTextChanged This member supports the internal infrastructure and is not intended to be used directly from your code.
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 This member supports the internal infrastructure and is not intended to be used directly from your code.
ModifiedChanged Occurs when the value of the RichEditDocumentServer.Modified property is changed.
OpenDocumentBytesChanged This member supports the internal infrastructure and is not intended to be used directly from your code.
OpenXmlBytesChanged This member supports the internal infrastructure and is not intended to be used directly from your code.
RtfTextChanged This member supports the internal infrastructure and is not intended to be used directly from your code.
SelectionChanged Fires in response to changing a selection in the document.
UnhandledException This event is raised when an exception unhandled by the RichEditDocumentServer occurs.
WordMLTextChanged This member supports the internal infrastructure and is not intended to be used directly from your code.
See Also