LEADTOOLS Annotations for WPF and Silverlight (Leadtools.Windows.Annotations assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.31
Play Method
See Also 
Leadtools.Windows.Annotations Namespace > AnnAudioObject Class : Play Method



Attempts to play the WAV file stored in the Uri property of this AnnAudioObject. Supported in Silverlight, Windows Phone 7

Syntax

Visual Basic (Declaration) 
Public Overridable Sub Play() 
Visual Basic (Usage)Copy Code
Dim instance As AnnAudioObject
 
instance.Play()
C# 
public virtual void Play()
C++/CLI 
public:
virtual void Play(); 

Example

For C#/VB examples, refer to AnnAudioObject.

Remarks

This method will call CanPlay first to verify that it can play the WAV file. If the return value from CanPlay is false this method will do nothing.

Requirements

Target Platforms: Silverlight 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only)

See Also

Play requires a Document/Medical product license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features and Unlocking Special LEAD Features.