WMEncProfile2.Merge
The Merge method merges the audiences from the current profile with another profile object.
Syntax
WMEncProfile2.Merge(WMEncProfile2Obj)
Parameters
WMEncProfile2Obj
[in] Specifies a WMEncProfile2 object.
Return Values
This method does not return a value.
Remarks
Use the Merge method to merge two profiles with different media types. For example, merge an audio profile with a video profile.
Example Code
' Create two WMEncProfile2 objects.
Dim ProA As WMEncProfile2, ProB As WMEncProfile2
Set ProA = New WMEncProfile2
Set ProB = New WMEncProfile2
' Load two custom profiles. REPLACE THESE FILE NAMES.
ProA.LoadFromFile "C:\Profiles\Audio.prx"
ProB.LoadFromFile "C:\Profiles\Video.prx"
' Merge ProB with ProA.
ProA.Merge ProB
Requirements
Reference: Windows Media Encoder
Library: wmenc.exe
See Also