Graphic Layer Extent

Discussion created by eitdhc on Feb 18, 2011
Latest reply on Feb 18, 2011 by DSwingley-esristaff
Is it possible to gather the extent of all graphics added to a graphics layer (so I can set map extent to show all graphics on the layer)?  I have some c# code to process xmin/xmax of graphics being added (typically polygons) but its not efficient, just wondering if there is a GraphicsLayer.getExtent type function that I haven't stumbled across yet (or a map.graphicslayer.extent?).