Add the ability to set the extent for a query layer via. ArcObjects

Idea created by ajroman on Aug 17, 2017
    • ajroman
    • aquee

    Provide a mechanism for setting the extent of a query layer via. ArcObjects so that it doesn't have to be calculated when the layer is added to the map.  This functionality is exposed in ArcMap when a query layer is added interactively the user can click on the input extent button and enter the xmin,ymin,xmax,ymax coordinates to use for the extent rather than having to wait while all the records in the spatial query are fetched to determine the extent for the layer.  There is currently no ArcObjects way to set the layer extent before adding the layer to the map to prevent this processing overhead (which can take a really long time for large datasets).