SourceObject Property

Summary

Gets or sets the media source object.

Syntax
C#
VB
C++
public virtual object SourceObject { get; set; } 
Public Overridable Property SourceObject As Object 
public: 
virtual property Object^ SourceObject { 
   Object^ get(); 
   void set (    Object^ ); 
} 

Property Value

A System.Object value representing the media source object.

Remarks

This property allows the user to assign a COM object as the media source for the conversion 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 convert control must be in the stopped state.

Requirements

Target Platforms

Help Version 20.0.2020.4.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.MediaFoundation Assembly