←Select platform

CanPlay Property (AnnAudioObject)

Summary

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

Syntax

C#
VB
C++
public virtual bool CanPlay {get;}
Public Overridable ReadOnly Property CanPlay As Boolean
public: 
virtual property bool CanPlay { 
   bool get(); 
} 

Property Value

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

Remarks

This property will determine:

  • Whether the Uri value is not null (Nothing in VB) or an empty string
  • Whether the Uri contains a valid path in the system

This property will not determine whether the path specified by Uri contains a valid WAV file.

Example

For C#/VB examples, refer to AnnAudioObject.

Requirements

Target Platforms

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools.Windows.Annotations Assembly
Click or drag to resize