Interface IWorkbookFormatProvider
Represents workbook format provider.
Namespace: Telerik.Windows.Documents.Spreadsheet.FormatProviders
Assembly: Telerik.Windows.Documents.Spreadsheet.dll
Syntax
public interface IWorkbookFormatProvider
Properties
CanExport
Gets a value indicating whether can export.
Declaration
bool CanExport { get; }
Property Value
System.Boolean
The value indicating whether can export. |
CanImport
Gets a value indicating whether can import.
Declaration
bool CanImport { get; }
Property Value
System.Boolean
The value indicating whether can import. |
FilesDescription
Gets the files description.
Declaration
string FilesDescription { get; }
Property Value
System.String
The files description. |
Name
Gets the name.
Declaration
string Name { get; }
Property Value
System.String
The name of the provider. |
SupportedExtensions
Gets the supported extensions.
Declaration
IEnumerable<string> SupportedExtensions { get; }
Property Value
System.Collections.Generic.IEnumerable<System.String>
The supported extensions. |
Methods
Export(Workbook, Stream)
Exports the specified workbook.
Declaration
[Obsolete("This method is obsolete. Please use Export(Workbook workbook, Stream output, TimeSpan? timeout) instead.")]
void Export(Workbook workbook, Stream output)
Parameters
Workbook
workbook
The workbook. |
System.IO.Stream
output
The output. |
Export(Workbook, Stream, Nullable<TimeSpan>)
Exports the specified workbook.
Declaration
void Export(Workbook workbook, Stream output, TimeSpan? timeout)
Parameters
Workbook
workbook
The workbook. |
System.IO.Stream
output
The output. |
System.Nullable<System.TimeSpan>
timeout
The timeout after which the operation will be cancelled. |
Import(Stream)
Imports the specified input.
Declaration
[Obsolete("This method is obsolete. Please use Import(Stream input, TimeSpan? timeout) instead.")]
Workbook Import(Stream input)
Parameters
System.IO.Stream
input
The input. |
Returns
Workbook
The imported workbook. |
Import(Stream, Nullable<TimeSpan>)
Imports the specified input.
Declaration
Workbook Import(Stream input, TimeSpan? timeout)
Parameters
System.IO.Stream
input
The input. |
System.Nullable<System.TimeSpan>
timeout
The timeout after which the operation will be cancelled. |
Returns
Workbook
The imported workbook. |