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.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;} |
Property Value
true if this AnnAudioObject can play its WAV file; false otherwise.For an example refer to AnnAudioObject.
(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
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7