.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+

IRichEditDocumentServer Members

Interface of a rich text engine providing the essential Rich Editor functionality.

Properties

Name Description
DocBytes Gets or sets the document content as an array of bytes in Microsoft Word 97-2003 format (Doc) format.
Document Provides access to a Document interface, representing the document contained in the server.
DpiX Gets the current dpi value for the X-coordinate.
DpiY Gets the current dpi value for the Y-coordinate.
HtmlText Gets or sets the content as HTML text.
HyphenationDictionaries Provides access to the collection of hyphenation dictionaries.
IsDisposed For internal use. Gets a value indicating whether the control has been disposed of.
LayoutUnit Gets or sets a unit of measure used for a document model layout.
MhtText Gets or sets the document content as MHT text.
Model For internal use.
Modified Gets or sets a value that indicates that the document contents is modified since it was last saved.
OpenDocumentBytes Gets or sets the document content as an array of bytes in Open Office Text (.odt) format.
OpenXmlBytes Gets or sets the document content as an array of bytes in Office Open XML (Docx) format.
Options Provides access to the variety of options which can be specified for the RichEditDocumentServer.
RtfText Gets or sets the formatted text content of the document.
Text Gets or sets the plain text content of the document.
Unit Gets or sets a unit of measure used within the RichEditDocumentServer.
WordMLText Gets or sets the document content as the text in WordProcessingML (Microsoft Office Word 2003 XML) format.

Methods

Name Description
AddService(Type, ServiceCreatorCallback) Adds the specified service to the service container. Inherited from IServiceContainer.
AddService(Type, ServiceCreatorCallback, Boolean) Adds the specified service to the service container, and optionally promotes the service to parent service containers. Inherited from IServiceContainer.
AddService(Type, Object) Adds the specified service to the service container. Inherited from IServiceContainer.
AddService(Type, Object, Boolean) Adds the specified service to the service container, and optionally promotes the service to any parent service containers. Inherited from IServiceContainer.
CreateMailMergeOptions() Creates an object for specifying the options used in mail merge operations.
CreateNewDocument(Boolean) Creates a new blank document.
Dispose() Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. Inherited from IDisposable.
GetService(Type) Gets the service object of the specified type. Inherited from IServiceProvider.
GetService<T>() Gets service of the specified type.
LoadDocument(Stream, DocumentFormat) Loads a document from a stream, specifying the document format.
LoadDocumentTemplate(Stream, DocumentFormat) Loads a document template from a stream with specific document format.
MailMerge(Document) Merges the current document and sends the result to the specified Document.
MailMerge(MailMergeOptions, Document) Merges the current document using the specified options, and sends the result to the specified Document.
MailMerge(MailMergeOptions, IRichEditDocumentServer) Obsolete. Merges the current document using the specified options and sends the result to the specified RichEditDocumentServer instance.
MailMerge(MailMergeOptions, Stream, DocumentFormat) Merges the current document using the specified options and sends the result to the specified stream in a specified format.
MailMerge(MailMergeOptions, String, DocumentFormat) Merges the current document using the specified options and sends the result to the specified file in a specified format.
MailMerge(IRichEditDocumentServer) Obsolete. Merges the current document and sends the result to the specified RichEditDocumentServer instance.
MailMerge(Stream, DocumentFormat) Merges the current document and sends the result to the specified stream in a specified format.
MailMerge(String, DocumentFormat) Merges the current document and sends the result to the specified file in a specified format.
RemoveService(Type) Removes the specified service type from the service container. Inherited from IServiceContainer.
RemoveService(Type, Boolean) Removes the specified service type from the service container, and optionally promotes the service to parent service containers. Inherited from IServiceContainer.
ReplaceService<T>(T) Performs a service substitution.
SaveDocument(Stream, DocumentFormat) Saves the document to a stream, specifying the document's format.
SaveDocument(Stream, DocumentFormat, EncryptionSettings) Saves the document to a stream, specifying the document's format and encryption options.

Events

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).
CalculateDocumentVariable Fires when the DOCVARIABLE field is updated.
ContentChanged Occurs when the document content was changed.
CustomPropertiesChanged Occurs after one of the DocumentCustomProperties has changed.
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.
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 IRichEditDocumentServer.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.
UnitChanged Fires after the Unit property is changed.
UnitChanging Fires before the Unit property is changed.
WordMLTextChanged For internal use.
See Also