SourceObject Property

Summary
Gets or sets the media source object.
Syntax
C#
C++/CLI
public virtual object SourceObject { get; set; } 
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 22.0.2022.12.7
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.MediaFoundation Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.