ArcObjects Library Reference (DefenseSolutions)  

IGeoPolyline.Polyline Property

The base polyline for the GeoPolyline object.

ERROR: Syntax information about IGeoPolyline.Polyline may not be in D:\ArcGIS\DotNet\ESRI.ArcGIS.DefenseSolutions.dll

[C++]
HRESULT get_Polyline(
  IPolyline** ppiPolyline
);
[C++]
HRESULT put_Polyline(
  IPolyline* ppiPolyline
);
[C++]

Parameters

ppiPolyline [out, retval]

  ppiPolyline is a parameter of type IPolyline

ppiPolyline [in]

  ppiPolyline is a parameter of type IPolyline

Product Availability

Available with ArcGIS Engine and ArcGIS Desktop.

Remarks

The Polyline object should be a two-point line, and it must have a defined spatial reference in order for the GeoPolyline to function properly. See the following VB snippet for an example of how to set the IGeoPolyline::Polyline property.

Dim pPolyline As IPolyline
Dim pGeoPolyline As IGeoPolyline
Set pPolyline = New Polyline
Set pPolyline.SpatialReference = pSpatialReference  'an ISpatialReference object
Set pGeoPolyline = New GeoPolyline
pGeoPolyline.Polyline = pPolyline

See Also

IGeoPolyline Interface