PresetDocView:GetChannelCount

From Moving Light Assistant
Revision as of 23:23, 17 July 2015 by Andyv wiki admin (Talk | contribs) (Added page.)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

GetChannelCount()

Returns an integer.

This function will return the number of channel rows displayed in the Preset Documentation view for the currently selected preset.

Example.

numChannels = PresetDocView:GetChannelCount()

This would assign to the variable numChannels the number of channels displayed in the channel list for the selected preset.