ArcObjects Library Reference (Schematic)  

ISchematicInMemoryFeatureNodeOnLinkGeometry.GetDistance Method

Provides access to the distance of the position of the schematic in memory feature node on link.

[Visual Basic .NET]
Public Function GetDistance ( _
    ByVal Layer As ILayer, _
    ByVal AsRatio As Boolean _
) As Double
[C#]
public double GetDistance (
    ILayer Layer,
    bool AsRatio
);
[C++]
HRESULT GetDistance(
  ILayer* Layer,
  VARIANT_BOOL AsRatio,
  double* Distance
);
[C++]

Parameters

Layer [in]

  Layer is a parameter of type ILayer

AsRatio [in]   AsRatio is a parameter of type VARIANT_BOOL Distance [out, retval]   Distance is a parameter of type double

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires Schematics Extension.

See Also

ISchematicInMemoryFeatureNodeOnLinkGeometry Interface