WMEncProfile2.Clear

Windows Media Encoder SDK banner art

The Clear method removes all the audiences from the current profile object.

Syntax

WMEncProfile2.Clear

Parameters

This method takes no parameters.

Return Values

This method does not return a value.

Example Code

' Create a WMEncProfile2 object.
  Dim Pro As WMEncProfile2
  Set Pro = New WMEncProfile2

' Load a custom profile. REPLACE THE FILE NAME.
  Pro.LoadFromFile "C:\Profiles\CustomProfile.prx"

' Remove all of the audiences from the current profile.
  Pro.Clear

Requirements

Reference: Windows Media Encoder

Library: wmenc.exe

See Also