IWMEncSourceGroup.GroupTransformCollection
The GroupTransformCollection property retrieves a collection of group-level transform plug-ins for the source group.
Syntax
IWMEncTransformCollection = IWMEncSourceGroup.GroupTransformCollection;
Parameters
This property takes no parameters.
Property Value
An IWMEncTransformCollection object.
Remarks
This property is read-only.
Example Code
using WMEncoderLib;
try
{
// Create a WMEncoder object.
WMEncoder Encoder;
Encoder = new WMEncoder();
// Configure the profile and an audio source.
// Retrieve the transform collection from the audio source.
IWMEncTransformCollection GrpTrnsColl;
GrpTrnsColl = SrcGrp.GroupTransformCollection;
// Add a transform plug-in to the collection.
IWMEncTransform Trans;
Trans = GrpTrnsColl.Add();
// Apply a DMO Audio Transform Filter to the source.
Trans.SetInput("TimeCompression1", "TCGroupTransformPlugin", "");
}
catch (Exception e)
{
// TODO: Handle exceptions.
}
Requirements
Reference: Windows Media Encoder
Namespace: WMEncoderLib
Assembly: Interop.WMEncoderLib.dll
Library: WMEncoderLib.dll
See Also