The following tables list the members exposed by SampleTarget.
Name | Description | |
---|---|---|
SampleTarget | Creates an instance of the SampleTarget class. |
Name | Description | |
---|---|---|
Dispose | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. | |
GetAcceptedMediaType | Gets a copy of the media type accepted by the sample target object. | |
GetConnectedMediaType | Gets a copy of the connected media type. | |
GetSample | Gets a delivered media sample. | |
SetAcceptedMediaType | Sets the media type of the samples accepted by the object. |
Name | Description | |
---|---|---|
TargetFormat | Gets or sets the target format accepted by the sample target object. By default, the value of this property is ltmmSampleTarget_TargetFormat_Undefined . If you assign a value to the TargetFormat property that matches your expected final output format, then only media types that are accepted by the assigned format will be allowed. The AcceptedMediaType values are still honored, however, only the parts of the AcceptedMediaType that are not specified (GUID_NULL) are compared with the TargetFormat. You can still force a pin to only accept a major type of Video, and have the rest depend on the target format, by simply assigning an AcceptedMediaType with only the major type of video defined. |
Leadtools.Multimedia Namespace
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document