Hi,
Is there a way to get the number of visible features using LayerDefinition?
My Code is:
dynLayer = Map.Layers["SelectedActivities"] as ArcGISDynamicMapServiceLayer;
dynLayer.LayerDefinitions.Clear();
LayerDefinition ld = new LayerDefinition();
ld.LayerID = 0;
ld.Definition = q;
dynLayer.LayerDefinitions.Add(ld);
dynLayer.Refresh();
I want to know how many where selected by the query q.
I don't want to use queryTask because there can be much more than the maxRecordCount (1000).
I can add a query to the Database directly (SQL Server) but I prefer not to.
Is there a way to do it?
Thanks a lot,
Miri
Miri Eshel,
Systematics LTD.
Israel