ITextBasedWorkbookFormatProvider
Interface for format providers that import and export workbooks using text-based formats such as CSV and TXT.
Definition
Namespace:Telerik.Windows.Documents.Spreadsheet.FormatProviders
Assembly:Telerik.Windows.Documents.Spreadsheet.dll
Syntax:
public interface ITextBasedWorkbookFormatProvider : IWorkbookFormatProvider
Derived Classes:
Inherited Members
Methods
Exports the specified workbook to a text string with optional timeout to prevent long-running operations.
string Export(Workbook workbook, TimeSpan? timeout)
The workbook.
timeoutTimeSpan?The timeout after which the operation will be cancelled.
Returns:The result string.
Exceptions:The exception that is thrown when timeout is less than -1 or greater than Int32.MaxValue. Note that this upper bound is more restrictive than TimeSpan.MaxValue.
Imports a workbook from the specified text string with optional timeout to prevent long-running operations.
Workbook Import(string input, TimeSpan? timeout)
The input.
timeoutTimeSpan?The timeout after which the operation will be cancelled.
Returns:The workbook.
Exceptions:The exception that is thrown when timeout is less than -1 or greater than Int32.MaxValue. Note that this upper bound is more restrictive than TimeSpan.MaxValue.