Override to save 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 OnSaveSettings( XmlWriter writer ) |
| Visual Basic (Declaration) |
|---|
Protected Overridable Sub OnSaveSettings ( _ writer As XmlWriter _ ) |
| Visual C++ |
|---|
protected: virtual void OnSaveSettings( XmlWriter^ writer ) |
Parameters
- writer
- Type: System.Xml..::.XmlWriter
The xml file to save the settings to.
Examples
Saves a colour from to the clip settings.
CopyC#
protected override void OnSaveSettings(XmlWriter Writer) { Writer.WriteElementString("Colour", Colour.ToArgb); }