Select to view content in your preferred language

Layer ID from Checkbox

3746
1
03-23-2015 04:25 AM
Asgharkhan
Regular Contributor

select Layer ID from checkbox not working

if (McCheckBox1.IsChecked)

            {

                findParameters.LayerIds.AddRange(new int[] { 0, 1, 2, 3, 4, 5, });

            }

Please Help

0 Kudos
1 Reply
RobertScheitlin__GISP
MVP Emeritus

Asghar,

Try this

if (McCheckBox1.IsChecked)

            {

                findParameters.LayerIds = [ 0, 1, 2, 3, 4, 5];

            }

0 Kudos