←Select platform

CanPlay Property

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 FileName value is not null (Nothing in VB) 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.

Example

For an example refer to AnnAudioObject.

Requirements

Target Platforms

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations Assembly