Version

SetCurrentFormat Method

Sets the current format of the workbook.
Syntax
public void SetCurrentFormat( 
   WorkbookFormat format
)

Parameters

format
The file format to use when imposing format restrictions and saving.
Exceptions
ExceptionDescription
System.ComponentModel.InvalidEnumArgumentExceptionformat is not defined in the WorkbookFormat enumeration.
System.InvalidOperationExceptionThe workbook already contains data which exceeds the limits imposed by format.
Requirements

Target Platforms: Android 4.4+, iOS 8+

Development Environments: Visual Studio 2015+, Visual Studio for Mac Preview, Xamarin for Visual Studio 4.2+

See Also