The requested page is not available for the requested platform. You are viewing the content for .NET Framework 4.5.2+ platform.
.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+

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.

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.

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.

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.

UnhandledException

This event is raised when an exception unhandled by the RichEditDocumentServer occurs.

WordMLTextChanged

For internal use.

See Also