Skip to main content

SpreadsheetControl.LoadDocument Method

Name Parameters Description
LoadDocument() none Invokes the Open dialog, creates a specific importer and loads the file.
LoadDocument(Byte[], DocumentFormat) buffer, format Loads a document from a byte array.
LoadDocument(Byte[]) buffer Load the document from a Byte[] array.
LoadDocument(Stream, DocumentFormat) stream, format Loads a document from a stream, specifying the document format.
LoadDocument(Stream) stream Loads the document from a stream.
LoadDocument(String, DocumentFormat) fileName, format Loads a document from a file, specifying the document format.
LoadDocument(String) fileName Loads a document from a file.
LoadDocument(IWin32Window) parent Invokes the Open file dialog as a child of the specified parent window.