Leadtools.Annotations Requires Document/Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
CanPlay Property
See Also 
Leadtools.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();
}

Return Value

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

Example

For an example 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 Server 2003 family, Windows Server 2008 family

See Also

Leadtools.Annotations requires a Document or Medical toolkit license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features