Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

RichEditDocumentServer.LoadDocument Method

Name Parameters Description
LoadDocument(Byte[], DocumentFormat, String) buffer, format, sourceUri 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) buffer, format Loads a document in the specified format from a byte array.
LoadDocument(Byte[]) buffer Loads a document from a byte array. The file format is determined based on document content.
LoadDocument(Stream, DocumentFormat, String) stream, documentFormat, sourceUri 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) stream, documentFormat Loads a document from a stream, specifying the document format.
LoadDocument(Stream) stream Loads a document from the stream.
LoadDocument(String, DocumentFormat, String) filename, documentFormat, sourceUri 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) fileName, documentFormat Loads a document from a file, specifying the document format.
LoadDocument(String) fileName Loads a document from the specified file. The file format is determined by its content.