LEADTOOLS Annotations for WPF and Silverlight (Leadtools.Windows.Annotations assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.31
CanPlay Property
See Also 
Leadtools.Windows.Annotations Namespace > AnnVideoObject Class : CanPlay Property



Gets a value indicating whether this AnnVideoObject object can play its video file. Supported in Silverlight, Windows Phone 7

Syntax

Visual Basic (Declaration) 
Public Overridable ReadOnly Property CanPlay As Boolean
Visual Basic (Usage)Copy Code
Dim instance As AnnVideoObject
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 AnnVideoObject can play its video file; false otherwise.

Example

For C#/VB examples, refer to AnnVideoObject.

Remarks

(Read only) This property will determine:
  • Whether the Uri value is not null (Nothing in Visual Basic) 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 video file.

Requirements

Target Platforms: Silverlight 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only)

See Also

CanPlay requires a Document/Medical product license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features and Unlocking Special LEAD Features.