PresetDocView:GetPresetCount

From Moving Light Assistant
Jump to: navigation, search

GetPresetCount()

Returns an integer.

This function will return the number of preset rows displayed in the Preset Documentation preset list. You can use sorting and filtering of the preset list to only display specific presets.

Example.

numPresets = PresetDocView:GetPresetCount()

This would assign to the variable numPresets the number of presets displayed in the preset list.