See Also

IWorkbookSet Interface  | IWorkbookSet Members

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

Language

Visual Basic

C#

C++

C++/CLI

Show All

See Also Languages SpreadsheetGear The Performance Spreadsheet Component Company 

IsTrial Property

SpreadsheetGear Namespace > IWorkbookSet Interface : IsTrial Property

Returns true if this is an evaluation or trial version of SpreadsheetGear for .NET, otherwise false is returned.

[Visual Basic]
Overridable ReadOnly Property IsTrial As Boolean
[C#]
virtual bool IsTrial {get;}
[C++]
__property virtual bool get_IsTrial();
[C++/CLI]
virtual property bool IsTrial {    bool get(); }

Return Type

true if this is an evaluation or trial version of SpreadsheetGear for .NET, otherwise false is returned.

Example

[C#] Assert that this is not an evaluation/trial version of SpreadsheetGear for .NET

// Create a workbook set. 
            SpreadsheetGear.IWorkbookSet workbookSet = SpreadsheetGear.Factory.GetWorkbookSet(); 
  
            // Assert that this is not an evaluation/trial version of SpreadsheetGear for .NET. 
            System.Diagnostics.Debug.Assert(!workbookSet.IsTrial); 
    

[Visual Basic] 

' Create a workbook set.
            Dim workbookSet As IWorkbookSet = Factory.GetWorkbookSet()

            ' Assert that this is not an evaluation/trial version of SpreadsheetGear for .NET.
            System.Diagnostics.Debug.Assert(Not workbookSet.IsTrial)

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

IWorkbookSet Interface  | IWorkbookSet Members

 

 


See our live Excel Reporting, Excel Charting, Excel to DataGrid and Excel Calculation Samples.

Copyright © 2003-2007 SpreadsheetGear LLC. All Rights Reserved.

SpreadsheetGear and Spreadsheet Gear are trademarks of SpreadsheetGear LLC.