SpreadsheetGear 2023
IsTrial Property (IWorkbookSet)
Example 


SpreadsheetGear Namespace > IWorkbookSet Interface : IsTrial Property
Returns true if this is an evaluation or trial version of SpreadsheetGear, otherwise false is returned.
Syntax
'Declaration
 
ReadOnly Property IsTrial As System.Boolean
'Usage
 
Dim instance As IWorkbookSet
Dim value As System.Boolean
 
value = instance.IsTrial
System.bool IsTrial {get;}

Property Value

true if this is an evaluation or trial version of SpreadsheetGear, otherwise false is returned.
Example
Assert that this is not an evaluation/trial version of SpreadsheetGear
// Create a workbook set.
SpreadsheetGear.IWorkbookSet workbookSet = SpreadsheetGear.Factory.GetWorkbookSet();
             
// Assert that this is not an evaluation/trial version of SpreadsheetGear.
System.Diagnostics.Debug.Assert(!workbookSet.IsTrial);
' Create a workbook set.
Dim workbookSet As IWorkbookSet = SpreadsheetGear.Factory.GetWorkbookSet()
             
' Assert that this is not an evaluation/trial version of SpreadsheetGear.
System.Diagnostics.Debug.Assert(Not workbookSet.IsTrial)
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

IWorkbookSet Interface
IWorkbookSet Members