LEADTOOLS Multimedia (Leadtools.Multimedia assembly) Send comments on this topic. | Back to Introduction | Help Version 17.0.3.22
GetCodecFormatDesc Method
See Also 
Leadtools.Multimedia Namespace > WMProfileManager Class : GetCodecFormatDesc Method



Type
The string value representing the major media type of the codec. Possible values are Constants.MEDIATYPE_Video or Constants.MEDIATYPE_Audio
CodecIndex
The zero-based index of the codec for which to get the specified format description.
FormatIndex
The zero-based index of the format for which to get the description.
Type
The string value representing the major media type of the codec. Possible values are Constants.MEDIATYPE_Video or Constants.MEDIATYPE_Audio
CodecIndex
The zero-based index of the codec for which to get the specified format description.
FormatIndex
The zero-based index of the format for which to get the description.
Gets the description of the specified codec format.

Syntax

Visual Basic (Declaration) 
Public Function GetCodecFormatDesc( _
   ByVal Type As String, _
   ByVal CodecIndex As Integer, _
   ByVal FormatIndex As Integer _
) As String
Visual Basic (Usage)Copy Code
Dim instance As WMProfileManager
Dim Type As String
Dim CodecIndex As Integer
Dim FormatIndex As Integer
Dim value As String
 
value = instance.GetCodecFormatDesc(Type, CodecIndex, FormatIndex)
C# 
public string GetCodecFormatDesc( 
   string Type,
   int CodecIndex,
   int FormatIndex
)
C++/CLI 
public:
String^ GetCodecFormatDesc( 
   String^ Type,
   int CodecIndex,
   int FormatIndex
) 

Parameters

Type
The string value representing the major media type of the codec. Possible values are Constants.MEDIATYPE_Video or Constants.MEDIATYPE_Audio
CodecIndex
The zero-based index of the codec for which to get the specified format description.
FormatIndex
The zero-based index of the format for which to get the description.

Return Value

The description of the specified codec format.

Remarks

Gets the description of the specified codec format. For more information, refer to the Microsoft documentation for IWMCodecInfo2.GetCodecFormatDesc

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also