IMcImageSetChannels Property |
![]() |
Namespace: MediaCy.IQL.Sets
Sub ShowSetImageChannels() If ImageSets.Count = 0 Then ' no sets Exit Sub End If If ImageSets(0).Channels.Count = 0 then ' no image 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).Channels(0) ' Since we know that the channels collection contains only image channels, we can get the ' type-specific channel object and then report image channel characteristics Dim anImageChannel As McImageSetImageChannel Set anImageChannel = aChannel MsgBox anImageChannel.Name + vbCrLf + "Em. WL: " + CStr(anImageChannel.EmissionWavelength) End Sub