Skip to main content
A newer version of this page is available. .
.NET Framework 4.5.2+
Row

ISpreadsheetComponent Methods

Exposes the basic functionality to manage workbooks.
Name Description
AddService(Type, ServiceCreatorCallback, Boolean) Adds the specified service to the service container, and optionally promotes the service to parent service containers. Inherited from IServiceContainer.
AddService(Type, ServiceCreatorCallback) Adds the specified service to the service container. Inherited from IServiceContainer.
AddService(Type, Object, Boolean) Adds the specified service to the service container, and optionally promotes the service to any parent service containers. Inherited from IServiceContainer.
AddService(Type, Object) Adds the specified service to the service container. Inherited from IServiceContainer.
CreateNewDocument() Creates and loads a new empty workbook.
GetService(Type) Gets the service object of the specified type. Inherited from IServiceProvider.
LoadDocument(Byte[], DocumentFormat) Loads a document from a byte array.
LoadDocument(Byte[]) Loads the document from a Byte[] array.
LoadDocument(Stream, DocumentFormat) Loads a document from a stream, specifying the document format.
LoadDocument(Stream) Loads the document from a stream.
LoadDocument(String, DocumentFormat) Loads a document from a file, specifying the document format.
LoadDocument(String) Loads a document from a file.
RemoveService(Type, Boolean) Removes the specified service type from the service container, and optionally promotes the service to parent service containers. Inherited from IServiceContainer.
RemoveService(Type) Removes the specified service type from the service container. Inherited from IServiceContainer.
SaveDocument(DocumentFormat, EncryptionSettings) Saves a document to an array of bytes in the specified format with the specified encryption settings.
SaveDocument(DocumentFormat) Saves a document to an array of bytes in the specified format.
SaveDocument(Stream, DocumentFormat, EncryptionSettings) Saves the document to a stream, specifying the document format anf encryption options.
SaveDocument(Stream, DocumentFormat) Saves the document to a stream, specifying the document format.
SaveDocument(String, DocumentFormat, EncryptionSettings) Saves the document to a file, specifying the document format and encryption options.
SaveDocument(String, DocumentFormat) Saves the document to a file, specifying the document format.
SaveDocument(String, EncryptionSettings) Saves the document to the specified file with the specified encryption options. The file format is identified by the file extension.
SaveDocument(String) Saves the document to the specified file. The file format is identified by the file extension.
See Also