Back to Devexpress

RichEditControl.LoadDocument Method

windowsforms-devexpress-dot-xtrarichedit-dot-richeditcontrol-dot-loaddocument.md

latest3.2 KB
Original Source

RichEditControl.LoadDocument Method

NameParametersDescription
LoadDocument()noneInvokes the “ Open …” file dialog, creates a specific importer and loads the file.
LoadDocument(Byte[], DocumentFormat, String)buffer, format, sourceUriLoads 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, formatLoads a document in the specified format from a byte array.
LoadDocument(Byte[])bufferLoads a document from a byte array. The file format is determined based on document content.
LoadDocument(Stream, DocumentFormat, Boolean)stream, documentFormat, leaveOpenLoads a document from a stream, specifying the document format and optionally leaving the stream open.
LoadDocument(Stream, DocumentFormat, String)stream, documentFormat, sourceUriLoads 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, documentFormatLoads a document from a stream, specifying the document format.
LoadDocument(Stream)streamLoads a document from the stream.
LoadDocument(String, DocumentFormat, String)fileName, documentFormat, sourceUriLoads 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, documentFormatLoads a document from a file, specifying the document format.
LoadDocument(String)fileNameLoads a document from the specified file. The file format is determined by its content.
LoadDocument(IWin32Window)parentInvokes the Open file dialog as a child of the specified parent window.