Leadtools.Windows.Annotations Requires Document/Medical license. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
CanPlay Property
See Also 
Leadtools.Windows.Annotations Namespace > AnnAudioObject Class : CanPlay Property





Gets a value indicating whether this AnnAudioObject object can play its WAV file.

Syntax

Visual Basic (Declaration) 
Public Overridable ReadOnly Property CanPlay As Boolean
Visual Basic (Usage)Copy Code
Dim instance As AnnAudioObject
Dim value As Boolean
 
value = instance.CanPlay
C# 
public virtual bool CanPlay {get;}
C++/CLI 
public:
virtual property bool CanPlay {
   bool get();
}
XAML Syntax 
You cannot use this property in XAML.
XAML Syntax 
You cannot use this property in XAML.

Return Value

true if this AnnAudioObject can play its WAV file; false otherwise.

Example

For C#/VB examples, refer to AnnAudioObject.

Remarks

(Read only) This property will determine:
  • Whether the FileName value is not null (Nothing in Visual Basic) or an empty string
  • Whether the FileName contains a valid path in the system
This property will not determine whether the path specified by FileName contains a valid WAV file.

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Vista, and Windows Server 2003 family

See Also

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