This document is archived and information here might be outdated.  Recommended version.


IRouteMeasureCreator.CreateUsingCoordinatePriority Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Location)  

IRouteMeasureCreator.CreateUsingCoordinatePriority Method

Create routes from using topology.

[Visual Basic .NET]
Public Function CreateUsingCoordinatePriority ( _
    ByVal lengthFieldName As String, _
    ByVal seedingCorner As esriMSeedingCorner, _
    ByVal ignoreGaps As Boolean, _
    ByVal outputFClassName As IFeatureClassName, _
    ByVal outputGeometryDef As IGeometryDef, _
    ByVal configKeyword As String, _
    ByVal trackCancel As ITrackCancel _
) As IEnumBSTR
[C#]
public IEnumBSTR CreateUsingCoordinatePriority (
    string lengthFieldName,
    esriMSeedingCorner seedingCorner,
    bool ignoreGaps,
    IFeatureClassName outputFClassName,
    IGeometryDef outputGeometryDef,
    string configKeyword,
    ITrackCancel trackCancel
);
[C++]
HRESULT CreateUsingCoordinatePriority(
  BSTR lengthFieldName,
  esriMSeedingCorner seedingCorner,
  VARIANT_BOOL ignoreGaps,
  IFeatureClassName* outputFClassName,
  IGeometryDef* outputGeometryDef,
  BSTR configKeyword,
  ITrackCancel* trackCancel,
  IEnumBSTR** enumError
);
[C++]

Parameters lengthFieldName [in] lengthFieldName is a parameter of type BSTR seedingCorner [in]
seedingCorner is a parameter of type esriMSeedingCorner ignoreGaps [in] ignoreGaps is a parameter of type VARIANT_BOOL outputFClassName [in]
outputFClassName is a parameter of type IFeatureClassName outputGeometryDef [in]
outputGeometryDef is a parameter of type IGeometryDef configKeyword [in] configKeyword is a parameter of type BSTR trackCancel [in]
trackCancel is a parameter of type ITrackCancel enumError [out, retval]
enumError is a parameter of type IEnumBSTR

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Remarks

The lengthFieldName is the name of the field in the input feature class which contains the measures of the route.  Measures will be set starting from zero to the value in this field.

The seedingCorner parameter specifies the coordinate priority of where the route measure will start (measure=0).  The coordinate priority can be:

0 - esriMSeedingUperLeft

1 - esriMSeedingBottomLeft

2 - esriMSeedingUpperRight

3 - esriMSeedingBottomRight

 

See Also

IRouteMeasureCreator Interface