InterfaceITextBasedWorkbookFormatProvider
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
Inherited Members
Methods
Export(Workbook)
Exports the specified workbook to a text string without timeout support.
Export(Workbook, TimeSpan?)
Exports the specified workbook to a text string with optional timeout to prevent long-running operations.
Declaration
string Export(Workbook workbook, TimeSpan? timeout)
Parameters
workbook
The workbook.
timeout
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.
Import(string)
Imports a workbook from the specified text string without timeout support.
Import(string, TimeSpan?)
Imports a workbook from the specified text string with optional timeout to prevent long-running operations.
Declaration
Workbook Import(string input, TimeSpan? timeout)
Parameters
input
The input.
timeout
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.