Skip to main content
All docs
V24.1

RichEditDocumentServerExtensions.LoadDocumentAsync Method

Name Parameters Description
LoadDocumentAsync(RichEditDocumentServer, Byte[], DocumentFormat, String, CancellationToken) static self, buffer, documentFormat, sourceUri, cancellationToken Asynchronously loads a document in the specified format from a byte array. You can use this method to load HTML documents with connected files.
LoadDocumentAsync(RichEditDocumentServer, Byte[], DocumentFormat, String) static self, buffer, documentFormat, sourceUri Asynchronously loads a document in the specified format from a byte array. You can use this method to load HTML documents with connected files.
LoadDocumentAsync(RichEditDocumentServer, Byte[], DocumentFormat, CancellationToken) static self, buffer, documentFormat, cancellationToken Asynchronously loads a document in the specified format from a byte array.
LoadDocumentAsync(RichEditDocumentServer, Byte[], DocumentFormat) static self, buffer, documentFormat Asynchronously loads a document in the specified format from a byte array.
LoadDocumentAsync(RichEditDocumentServer, Byte[], CancellationToken) static self, buffer, cancellationToken Asynchronously loads a document from a byte array. The file format is determined based on document content.
LoadDocumentAsync(RichEditDocumentServer, Byte[]) static self, buffer Asynchronously loads a document from a byte array. The file format is determined based on document content.
LoadDocumentAsync(RichEditDocumentServer, Stream, DocumentFormat, String, CancellationToken) static self, stream, documentFormat, sourceUri, cancellationToken Asynchronously loads a document from a stream in the specified format. External content for HTML format is retrieved from the specified source (base) URI.
LoadDocumentAsync(RichEditDocumentServer, Stream, DocumentFormat, String) static self, stream, documentFormat, sourceUri Asynchronously loads a document from a stream in the specified format. External content for HTML format is retrieved from the specified source (base) URI.
LoadDocumentAsync(RichEditDocumentServer, Stream, DocumentFormat, CancellationToken) static self, stream, documentFormat, cancellationToken Asynchronously loads a document from a stream in the specified format.
LoadDocumentAsync(RichEditDocumentServer, Stream, DocumentFormat) static self, stream, documentFormat Asynchronously loads a document from a stream in the specified format.
LoadDocumentAsync(RichEditDocumentServer, Stream, CancellationToken) static self, stream, cancellationToken Asynchronously loads a document from a stream. The file format is determined by its content.
LoadDocumentAsync(RichEditDocumentServer, Stream) static self, stream Asynchronously loads a document from a stream. The file format is determined by its content.
LoadDocumentAsync(RichEditDocumentServer, String, DocumentFormat, String, CancellationToken) static self, filename, documentFormat, sourceUri, cancellationToken Asynchronously loads a document from a file in the specified format. External content for HTML format is retrieved from the specified source (base) URI.
LoadDocumentAsync(RichEditDocumentServer, String, DocumentFormat, String) static self, filename, documentFormat, sourceUri Asynchronously loads a document from a file in the specified format. External content for HTML format is retrieved from the specified source (base) URI.
LoadDocumentAsync(RichEditDocumentServer, String, DocumentFormat, CancellationToken) static self, fileName, documentFormat, cancellationToken Asynchronously loads a document from a file in the specified format.
LoadDocumentAsync(RichEditDocumentServer, String, DocumentFormat) static self, fileName, documentFormat Asynchronously loads a document from a file in the specified format.
LoadDocumentAsync(RichEditDocumentServer, String, CancellationToken) static self, fileName, cancellationToken Asynchronously loads a document from a file. The file format is determined by its content.
LoadDocumentAsync(RichEditDocumentServer, String) static self, fileName Asynchronously loads a document from a file. The file format is determined by its content.