WMEncoder.DisplayInfo
The DisplayInfo property retrieves a description of the encoded content. Typically this includes author, copyright, rating and title information.
Syntax
IWMEncDisplayInfo = WMEncoder.DisplayInfo
Parameters
This property takes no parameters.
Property Value
An IWMEncDisplayInfo object containing string descriptions of the encoded content.
Remarks
Use the IWMEncDisplayInfo object to set or retrieve the name of the author, copyright data, a general content description, a rating and a title.
Example Code
' Create a WMEncoder object.
Dim Encoder As WMEncoder
Set Encoder = New WMEncoder
' Retrieve an IWMEncDisplayInfo object.
Dim Descr As IWMEncDisplayInfo
Set Descr = Encoder.DisplayInfo
' Declare string variables.
Dim sAuthor As String
Dim sCopyright As String
Dim sDescription As String
Dim sRating As String
Dim sTitle As String
' Set the IWMEncDisplayInfo properties.
Descr.Author = "Content author's name."
Descr.Copyright = "Copyright 2000. All rights reserved."
Descr.Description = "Description of the encoded content."
Descr.Rating = "Not applicable."
Descr.Title = "Title of the encoded content."
' Retrieve the IWMEncDisplayInfo properties.
sAuthor = Descr.Author
sCopyright = Descr.Copyright
sDescription = Descr.Description
sRating = Descr.Rating
sTitle = Descr.Title
Requirements
Reference: Windows Media Encoder
Library: wmenc.exe
See Also