AnsweredAssumed Answered

Create a 3D Polyline

Question asked by ManelKeddar on Aug 4, 2017
Latest reply on Aug 8, 2017 by ManelKeddar

Helloe , i'm trying to create a 3D polyline , i used the following code

public static Polyline CreatePolyLine3D(MapPoint pointDepart , MapPoint pointArrive)
{
var stops = new MapPoint[] { pointDepart, pointArrive };
//Create a new Polyline

var mypolyLine = new Polyline(stops ,SpatialReferences.Wgs84);
return mypolyLine;

}

i'm looking for any interface or method that can help me to say if the geometry have a Z value or not for example in arcObject there's the interface IZAware that identifies geometries that can have persistent Z values attached to their vertices .  IPolyline polyline = new PolylineClass();
(polyline as IZAware).ZAware = true;
how can i do that with arcGis run time v 100.1 
thanks in advance

cheers

Outcomes