Gets 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).
Visual Basic |
---|
Public Function GetProfileStr( _ ByVal propertyName As String, _ ByVal defaultValue As String _ ) As String |
Available: GEO MM ME MD 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:
SIS.GetProfileStr("SISGazetteer::ViewScaleMetres$", "200")
As "SISGazetteer::ViewScaleMetres$" has not been set, the above evaluation will return “200”.
Send comments on this topic.
Click to return to www.cadcorp.com
© Copyright 2000-2017 Computer Aided Development Corporation Limited (Cadcorp).