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


IRouteMeasureCreator2.CreateUsing2Fields2 Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Location)  

IRouteMeasureCreator2.CreateUsing2Fields2 Method

Create routes from polylines using two fields.

[Visual Basic .NET]
Public Function CreateUsing2Fields2 ( _
    ByVal fmFieldName As String, _
    ByVal tmFieldName As String, _
    ByVal factor As Double, _
    ByVal Offset As Double, _
    ByVal outputFClassName As IFeatureClassName, _
    ByVal outputGeometryDef As IGeometryDef, _
    ByVal configKeyword As String, _
    ByVal trackCancel As ITrackCancel _
) As IEnumBSTR
[C#]
public IEnumBSTR CreateUsing2Fields2 (
    string fmFieldName,
    string tmFieldName,
    double factor,
    double Offset,
    IFeatureClassName outputFClassName,
    IGeometryDef outputGeometryDef,
    string configKeyword,
    ITrackCancel trackCancel
);
[C++]
HRESULT CreateUsing2Fields2(
  BSTR fmFieldName,
  BSTR tmFieldName,
  double factor,
  double Offset,
  IFeatureClassName* outputFClassName,
  IGeometryDef* outputGeometryDef,
  BSTR configKeyword,
  ITrackCancel* trackCancel,
  IEnumBSTR** enumError
);
[C++]

Parameters fmFieldName [in] fmFieldName is a parameter of type BSTR tmFieldName [in] tmFieldName is a parameter of type BSTR factor [in] factor is a parameter of type double Offset [in] Offset is a parameter of type double 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.

See Also

IRouteMeasureCreator2 Interface