Click or drag to resize

IMcImageSetAudioChannels Property

Gets the collection of audio channel information classes

Namespace:  MediaCy.IQL.Sets
Assembly:  MediaCy.IQL.Sets (in MediaCy.IQL.Sets.dll) Version: 10.0.6912.0
Syntax
VB
ReadOnly Property AudioChannels As McImageSetChannels
	Get

Property Value

Type: McImageSetChannels
Remarks
Gets a collection of channel information classes giving detailed information about the audio channels in this set. As channels are added to the set through the AddAudioChannel method, a member will be added to this collection for each channel added.
Examples
VB
Sub ShowSetAudioChannel()
If ImageSets.Count = 0 Then
Exit Sub
End If
If ImageSets(0).AudioChannels.Count = 0 then  ' no audio channels
Exit Sub
End If
' Note that the members of the channels collection are McImageSetChannel
' objects. We will use the Type property of the McImageSetChannel object to
' see which type of channel we are working with.
Dim aChannel As McImageSetChannel
Set aChannel = ImageSets(0).AudioChannels(0)
' Since we know that the channel is an audio channel, we can get the
' type-specific channel object and then report audio channel characteristics
Dim anAudioChannel As McImageSetAudioChannel
Set anAudioChannel = aChannel
MsgBox "Audio channel '" + anAudioChannel.Name + "'" vbCrLf + "Duration: " + CStr(anAudioChannel.Duration)
End Sub
See Also