All Cadcorp SIS API Methods

EvaluateStr Method

Description

Evaluates an expression which has a string result.

Syntax

Visual Basic
Public Function EvaluateStr( _
   ByVal objectType As Integer, _
   ByVal nObject As Long, _
   ByVal formula As String _
) As String

Parameters

objectType
 
SIS_OT_COMMAND Changes the properties/mode of the current command.
SIS_OT_CURITEM The current open Item.
SIS_OT_DEFITEM The default Item.
SIS_OT_DATASET Datasets.
SIS_OT_OVERLAY Overlays.
SIS_OT_WINDOW The window.
SIS_OT_NOL Named Object Libraries.
SIS_OT_FTABLE The current Feature Table.
SIS_OT_SCHEMA The current Schema.
SIS_OT_SCHEMACOLUMN A column in the current Schema.
SIS_OT_THEME The current Theme.
SIS_OT_THEMECOMPONENT A component in the current Theme.
SIS_OT_PRINTER Printer.
SIS_OT_SYSTEM System variables.
SIS_OT_OPTION System wide Boolean options.
 
nObject

The index of the object type.

 
formula

The expression to evaluate. See Property Expression Syntax for details.

Return Type

The evaluated string value of the given expression.

Remarks

Available: GEO D OD OM OV SISpy

Group:

Example

sis.EvaluateStr ( SIS_OT_CURITEM ,0, "Brush$")