public Geometry QueryDrawingOutline(long oid, OutlineType outlineType) { DrawingOutlineType drawingOutlineType; switch (outlineType) { case OutlineType.Exact: drawingOutlineType = DrawingOutlineType.Exact; break; case OutlineType.BoundingBox: drawingOutlineType = DrawingOutlineType.BoundingEnvelope; break; default: throw new ArgumentOutOfRangeException(nameof(outlineType), outlineType, null); } return(_layer.QueryDrawingOutline(oid, _mapView, drawingOutlineType)); }
public Geometry QueryDrawingOutline(long oid, OutlineType outlineType) { #if PRO27 DrawingOutlineType drawingOutlineType; switch (outlineType) { case OutlineType.Exact: drawingOutlineType = DrawingOutlineType.Exact; break; case OutlineType.BoundingBox: drawingOutlineType = DrawingOutlineType.BoundingEnvelope; break; default: throw new ArgumentOutOfRangeException(nameof(outlineType), outlineType, null); } return(_layer.QueryDrawingOutline(oid, _mapView, drawingOutlineType)); #else throw new NotImplementedException("Requires ArcGIS Pro 2.7 or newer"); #endif }