LEADTOOLS Annotations (Leadtools.Annotations assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
CanPlay Property
See Also 
Leadtools.Annotations Namespace > AnnAudioObject Class : CanPlay Property



The CanPlay Property is available in LEADTOOLS Document and Medical Imaging toolkits.

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();
}

Property 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 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also

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