Skip to main content

RichEditDocumentServer Methods

A non-visual .NET library providing all the word processing functionality.
Name Description
AddService(Type, ServiceCreatorCallback, Boolean) Adds the specified service to the service container.
AddService(Type, ServiceCreatorCallback) Adds the specified service to the service container.
AddService(Type, Object, Boolean) Adds the specified service to the service container.
AddService(Type, Object) Adds the specified service to the service container.
BeginInitialize() For internal use.
BeginUpdate() Locks the RichEditDocumentServer object until the RichEditDocumentServer.EndUpdate method is called.
CancelUpdate() For internal use. Use the RichEditDocumentServer.EndUpdate method instead.
CreateMailMergeOptions() Creates an object for specifying the options used in mail merge operations.
CreateNewDocument(Boolean) Creates a new blank document.
Dispose() Releases resources associated with a RichEditDocumentServer instance.
EndUpdate() Unlocks the RichEditDocumentServer object.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
ExportToPdf(Stream, PdfExportOptions) Exports the document to the specified stream in PDF format.
ExportToPdf(Stream) Exports the document to the specified stream in PDF format.
ExportToPdf(String, PdfExportOptions) Exports the content of the RichEditControl to the specified file path in PDF format, applying PDF-specific options.
ExportToPdf(String) Exports the document content to the specified file path in PDF format.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetService(Type) Gets the service object of the specified type.
GetService<T>() Gets the specified service.
GetType() Gets the Type of the current instance. Inherited from Object.
LoadDocument(Byte[], DocumentFormat, String) Loads a document in the specified format from a byte array. You can use this method to load HTML documents with connected files.
LoadDocument(Byte[], DocumentFormat) Loads a document in the specified format from a byte array.
LoadDocument(Byte[]) Loads a document from a byte array. The file format is determined based on document content.
LoadDocument(Stream, DocumentFormat, String) Loads a document from the stream in the specified format. External content for HTML format is retrieved using the specified source (base) URI.
LoadDocument(Stream, DocumentFormat) Loads a document from a stream, specifying the document format.
LoadDocument(Stream) Loads a document from the stream.
LoadDocument(String, DocumentFormat, String) Loads a document from the file in the specified format. External content for HTML format is retrieved using the specified source (base) URI.
LoadDocument(String, DocumentFormat) Loads a document from a file, specifying the document format.
LoadDocument(String) Loads a document from the specified file. The file format is determined by its content.
LoadDocumentTemplate(Byte[], DocumentFormat) Loads a document template in the specified format from a byte array.
LoadDocumentTemplate(Byte[]) Loads a document template from a byte array.
LoadDocumentTemplate(Stream, DocumentFormat) Loads a document template with specified format from a stream.
LoadDocumentTemplate(Stream) Loads a document template from the stream.
LoadDocumentTemplate(String, DocumentFormat) Loads a document template from the file in the specified format.
LoadDocumentTemplate(String) Loads a document template from the specified file.
MailMerge(Document) Merges data to the current document and sends the result to the specified Document instance.
MailMerge(MailMergeOptions, Document) Merges data to the current document and sends the result to the specified Document instance. Allows you to set the mail merge options.
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 data to the current document and sends the result in the specified format to a stream. Allows you to set mail merge options.
MailMerge(MailMergeOptions, String, DocumentFormat) Merges data to the current document and saves the result to a file in the specified format. Allows you to set mail merge options.
MailMerge(IRichEditDocumentServer) Obsolete. Merges the current document and sends the result to the specified RichEditDocumentServer instance.
MailMerge(Stream, DocumentFormat) Merges data to the current document, and sends the result in the specified format to a stream.
MailMerge(String, DocumentFormat) Merges data to the current document and sends the result to a file in the specified format.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
Print() Prints the document to the default printer with the default settings.
Print(PrinterSettings, String) Prints the document with the given printer settings and document name.
Print(PrinterSettings) Prints the document with the given printer settings.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
RemoveService(Type, Boolean) Removes the service of the specified type from the service container.
RemoveService(Type) Removes the service of the specified type from the service container.
ReplaceService<T>(T) Performs a service substitution.
SaveDocument(DocumentFormat, EncryptionSettings) Saves the document to a byte array in the specified file format and encrypts it with a password.
SaveDocument(DocumentFormat) Saves the document to a byte array in the specified file format.
SaveDocument(Stream, DocumentFormat, EncryptionSettings) Saves the document to a stream, specifying the document’s format and encryption options.
SaveDocument(Stream, DocumentFormat) Saves the document to a stream, specifying the document’s format.
SaveDocument(String, DocumentFormat, EncryptionSettings) Saves the document to a file, specifying the document’s format and encryption options.
SaveDocument(String, DocumentFormat) Saves the control’s document to a file, specifying the document’s format.
ToString() Returns a string that represents the current object. Inherited from Object.
See Also