FarPoint.CalcEngine Assembly > FarPoint.CalcEngine Namespace > BooleanExpression Class : BooleanExpression Constructor |
'Usage Dim value As Boolean Dim instance As New BooleanExpression(value)
//Spread for Windows Forms FarPoint.CalcEngine.Expression arg1 = new FarPoint.CalcEngine.BooleanExpression(true); ((FarPoint.Win.Spread.Model.IExpressionSupport)fpSpread1.ActiveSheet.Models.Data).SetExpression(0, 0, arg1); //Spread for Web Forms FarPoint.CalcEngine.Expression arg1 = new FarPoint.CalcEngine.BooleanExpression(true); ((FarPoint.Web.Spread.Model.IExpressionSupport)FpSpread1.Sheets[0].DataModel).SetExpression(0, 0, arg1);
Dim arg1 As FarPoint.CalcEngine.Expression arg1 = New FarPoint.CalcEngine.BooleanExpression(True) 'Spread for Windows Forms CType(FpSpread1.ActiveSheet.Models.Data, FarPoint.Win.Spread.Model.IExpressionSupport).SetExpression(0, 0, arg1) 'Spread for Web Forms CType(FpSpread1.Sheets(0).DataModel, FarPoint.Web.Spread.Model.IExpressionSupport).SetExpression(0, 0, arg1)
Target Platforms: Windows 7, Windows 8, Windows Vista, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6