RichEditControl.LoadDocument Method

Name Parameters Description
LoadDocument() none Invokes the "Open..." file dialog, creates a specific importer and loads the file.
LoadDocument(Stream) stream Loads a document from the stream.
LoadDocument(Stream, DocumentFormat) stream, documentFormat Loads a document from a stream, specifying the document format.
LoadDocument(Stream, DocumentFormat, Boolean) stream, documentFormat, leaveOpen Loads a document from a stream, specifying the document format and optionally leaving the stream open.
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(String) fileName Loads a document from the specified file. The file format is determined by its content.
LoadDocument(String, DocumentFormat) fileName, documentFormat Loads a document from a file, specifying the document format.
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(IWin32Window) parent Invokes the Open file dialog as a child of the specified parent window.