.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
Row

ISpreadsheetComponent Methods

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