Hi jennifer, if i have understood it would be something like this:
For example 2 objects selected;
Envelope env0 = f.Graphics[0].Geometry.Extent;
Envelope env1 = f.Graphics[1].Geometry.Extent;
Envelope result = env0.Union(env1);
query.Geometry = result;
.. Teorically all looks like good, i don't have any errors but no objects are never selected.
Other of this .... it's necessary now to return from envelope to geometry of union of original geometries, because i'm doing a spatial query between the geometry and some points. Can happen that , for example ,some point are inside envelope but outside geometry .. and that's wrong.
There's no way to create a geometry as union of other 2 geometries ?
It' right what i'm doing ?
thanks and best regards
GP