SetInt Method
Description
Sets the value of an integer property.
Syntax
| Visual Basic |
|---|
Public Function SetInt( _ ByVal objectType As Integer, _ ByVal nObject As Long, _ ByVal propertyName As String, _ ByVal value As Long _ ) As Integer |
Parameters
- objectType
-
SIS_OT_COMMANDChanges the properties/mode of the current command. SIS_OT_CURITEM The current open Item. SIS_OT_DEFITEMThe default Item. SIS_OT_DATASETDatasets. SIS_OT_OVERLAYOverlays. SIS_OT_WINDOWThe window. SIS_OT_NOLNamed Object Libraries. SIS_OT_FTABLEThe current Feature Table. SIS_OT_SCHEMAThe current Schema. SIS_OT_SCHEMACOLUMNA column in the current Schema. SIS_OT_THEMEThe current Theme. SIS_OT_THEMECOMPONENTA component in the current Theme. SIS_OT_PRINTERPrinter. SIS_OT_SYSTEMSystem variables. SIS_OT_OPTIONSystem wide Boolean options. - nObject
- The index of the object type.
- propertyName
- The name of the property. All integer properties end in '&'.
- value
- The new integer value of the property.
Remarks
When using the objectType SIS_OT_CURITEM, if no property exists of the name propertyName, andpropertyName does not start with the "_" character (underscore) then a user-defined attribute will be created, with the name propertyName$, and the value value.
Available: GEO D OD OM OV SISpy
Group:
Example
sis.SetInt (SIS_OT_OVERLAY, 0, "_precision&", 32)