All Cadcorp SIS API Methods

SetProfileStr Method

Description

Sets the value of a string profile property.

Note: Profile properties are held in the options database (these properties are for Application/Add-In use only).

Syntax

Visual Basic
Public Function SetProfileStr( _
   ByVal propertyName As String, _
   ByVal value As String _
) As Integer

Parameters

propertyName
The name of the property. All string properties end in '$'.
 
value
The value of the property

Remarks

Available: GEO D OD OM OV SISpy

Note: In the case of SISpy, profile settings are only valid for as long as the SISpy module is loaded, with no settings being saved between sessions. This is also the case for the SIS ActiveX Control unless the _OptionsDatabase$ system property has been set."

Group:

Example

SIS.SetProfileStr("SISGazetteer::ViewScaleMetres$", "200")