CADability dotNET
Assembly: CADability (in CADability.dll) Version: 1.1.4254.24737 (1.1.*)
This class is used to give acces and store information that influences global behaviour of the
CADability system.
There is a static variable GlobalSettings. This is the only use of settings in CADability.
This class behaves as a hierarchical dictionary. The keys are strings, which may have the form "mainkey.subkey"
The values are objects, i.e. any kind of data.
If the objects implement the IShowProperty interface they are displayed in the global setting tab of the controlcenter.
There are some classes like ColorSetting, [!:IntergerProperty], DoubleProperty,
StringProperty which can be used as a setting value. If you instead simply use a double or string value
the setting will be only available to programming code but not to the user in the ControlCenter.
Namespace: CADabilityAssembly: CADability (in CADability.dll) Version: 1.1.4254.24737 (1.1.*)
Syntax
C# |
---|
[SerializableAttribute] public class Settings : IShowPropertyImpl, ISerializable, ISettingChanged, IAttributeListContainer, IDeserializationCallback |
Visual Basic |
---|
<SerializableAttribute> _ Public Class Settings _ Inherits IShowPropertyImpl _ Implements ISerializable, ISettingChanged, IAttributeListContainer, IDeserializationCallback |
Visual C++ |
---|
[SerializableAttribute] public ref class Settings : public IShowPropertyImpl, ISerializable, ISettingChanged, IAttributeListContainer, IDeserializationCallback |