Has anyone already used IGeometryServer2 or IGeometryServer within C# code? I'm looking for a sample since I have not succeeded in using it.

I have already selected:
One Polyline (IPolyline) : for cutting
One Polyline (IGeometry) : the shape to be cut


2 Answers 2


Here is an example of IGeometryServer usage: http://resources.esri.com/help/9.3/ArcGISEngine/arcobjects/esriGeometry/esriGeometry_GeometryServer_example.htm

  • That's from ArcGIS Server 9.3 he wanted samples from 10.0.
    – dkroy
    Jul 26, 2011 at 3:56
  • Didn't read the post title closely.
    – Gady
    Jul 26, 2011 at 15:41

Esri's website seems to have everything you need. Here is the API Reference for the IGeometryServer2.Cut Method. They also have a whole section on migrating your code from 9.3 to 10.0 that also may be of use to you. The site also has the sample code of the GeometryServer with 10.0 that you requested.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.