I need to display Schematic Diagrams created in ArcEditor 10.2.1 (with the Schematics extension) in a web browser client. The diagrams have been created using ArcObjects/C# using a Selection set of the features retrieved using a DownStream trace for Electric Substations.
I am using ArcGIS Server 10.2.1 on Windows Platform with Enterprise Geodatabase in SQL Server 2012. The Schematics are stored in SQL Server. These schematics have been created using ArcObjects and are updated every night.
At the time of opening the map i am programmatically setting the extents of the map to the EXTENT of the schematic returned by ArcGIS Server. But this extent covers a much bigger area. This when viewed on the screen exceeds the actual extent of the image causing the schematic to appear very small in the map. My objective i set the extents of the map to the extents of the features in the schematic.
Pls refer to the attached diagram. The dotted line indicates the extent returned by schematic.
We are not forcing any extent to be set at the time of generating the schematic using ArcObjects.