CreateMultiLineStringGeometry

Creates a geometry made up of multiple line strings.

 

JavaScript

 

CreateMultiLineStringGeometry(

      lineStringList = 0)

 

C#

 

IMultiLineString CreateMultiLineStringGeometry(

      object lineStringList = 0)

 

C++

 

HRESULT CreateMultiLineStringGeometry(

       VARIANT lineStringList,

       IMultiLineString** pVal)

Parameters

lineStringList

An array of the following:

·         LinearRing WKB

·         LinearRing WKT
See:Well Known Text and Well Known Binary (WKT and WKB)” in the “Overview” chapter for background information on WKT and WKB.

·         A Safe Array of Vertices– An array that contains triplets of doubles. Each triplet is composed of an x-coordinate, a y-coordinate, and a height. The height is represented in meters and the x- and y-coordinates are represented in the coordinate system’s units. You can use the ITerrain61 interface to retrieve information about the coordinate system.

·         ILineString

·         Array of IPosition61 objects

Return Value

pVal

An IMultiLineString representing the newly created geometry.

Exceptions

See:  HRESULT Return Values for a list of possible values returned by the HRESULT.