Skip to main content

DxRichEdit.LoadDocumentAsync Method

Name Parameters Description
LoadDocumentAsync(IBrowserFile, CancellationToken) file, cancellationToken Loads a document from a file.
LoadDocumentAsync(Byte[], DocumentFormat, CancellationToken) bytes, documentFormat, cancellationToken Loads a document in the specified format from a byte array.
LoadDocumentAsync(Stream, DocumentFormat, CancellationToken) stream, documentFormat, cancellationToken Loads a document in the specified format from a stream.
LoadDocumentAsync(Stream, CancellationToken) stream, cancellationToken Loads a document from a stream.
LoadDocumentAsync(String, DocumentFormat, CancellationToken) filePath, documentFormat, cancellationToken Loads a document in the specified format from a file.
LoadDocumentAsync(String, CancellationToken) filePath, cancellationToken Loads a document from the file.