This function should be overriden to perform operations to load your clip after it is first created.

Namespace:  ScreenMonkey.Clips
Assembly:  ScreenMonkey.Clips (in ScreenMonkey.Clips.dll) Version: 3.2.0.0 (3.3.1.4)

Syntax

C#
protected virtual void OnLoadClip()
Visual Basic (Declaration)
Protected Overridable Sub OnLoadClip
Visual C++
protected:
virtual void OnLoadClip()

Remarks

You should override this function rather than Load()()() to perform load operations. This function is normally called from a loading thread. Any exceptions that ocurr will be handled by the loading routines.

Exceptions

ExceptionCondition
System.IO..::.FileNotFoundExceptionThe media file for this clip could not be found and may have been moved or deleted. Raising this exception will cause the clip to show as file not found and the user may be prompted to repair the clip.
System..::.ExceptionSomething went wrong while loading the clip. The clip will be displayed as having errors and the user may be prompted to repair the clip.

See Also