Override to load any custom settings for this clip.
Namespace:
ScreenMonkey.ClipsAssembly: ScreenMonkey.Clips (in ScreenMonkey.Clips.dll) Version: 3.2.0.0 (3.3.1.4)
Syntax
| C# |
|---|
protected virtual void OnLoadSettings( XmlNode settings ) |
| Visual Basic (Declaration) |
|---|
Protected Overridable Sub OnLoadSettings ( _ settings As XmlNode _ ) |
| Visual C++ |
|---|
protected: virtual void OnLoadSettings( XmlNode^ settings ) |
Parameters
- settings
- Type: System.Xml..::.XmlNode
The xml node which contains the settings for this clip.
Examples
Loads a colour from the xml settings.
CopyC#
protected override void OnLoadSettings(XmlNode Settings) { XmlNode colourXml = Settings.SelectSingleNode("@Colour"); if (colourXml != null) Colour = Color.FromArgb(colourXml.Value); }