Create valid polylines


Purpose
This sample code demonstrates how to do the following:
  • Create a multipart polyline using path via ISegmentCollection (createMultipartPolylinePathSegmentCollection)
  • Create a multipart polyline using path via IPointCollection (createMultipartPolylinePathPointCollection)

How to use

See How to use ArcGIS samples for help on running the sample.

  1. Run the application.
  2. Examine output messages.

If you installed the samples feature, you will find the files associated with this sample in <Your Developer Kit install location>\DeveloperKit10.4\Java\Samples\ArcObjects.

geometry/CreateValidPolylines.java Main class.




Development licensing Deployment licensing
Engine Developer Kit Engine
ArcGIS for Desktop Basic ArcGIS for Desktop Basic