LEADTOOLS Multimedia (Leadtools.MediaFoundation assembly)

SourceObject Property (PlayCtrl)

Show in webframe



Gets or sets the media source object.
Syntax
'Declaration
 
Public Overridable Property SourceObject As Object
'Usage
 
Dim instance As PlayCtrl
Dim value As Object
 
instance.SourceObject = value
 
value = instance.SourceObject
public virtual object SourceObject {get; set;}
public:
virtual property Object^ SourceObject {
   Object^ get();
   void set (    Object^ value);
}

Property Value

A System.Object value representing the media source object.
Remarks
Use this property to assign a COM object as the media source for the playing process. The object can be any Media Foundation source object ( implements the IMFMediaSource interface ). The SourceType will be set to SourceObjectType.Object. Assignment can raise an error exception. For more information, refer to the Error Codes. Note: When setting this property, the Play control must be in the stopped state.
Requirements

Target Platforms

See Also

Reference

PlayCtrl Class
PlayCtrl Members
ResetSource Method

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.

Leadtools.MediaFoundation requires a Multimedia or Multimedia Suite license and unlock key. For more information, refer to: LEADTOOLS Toolkit Features