Leadtools.Annotations Requires Document/Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.10.31
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;}
Managed Extensions for C++ 
public: __property virtual bool get_CanPlay();
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 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

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