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


ISchematicInMemoryFeatureNodeOnLinkGeometry.GetDistance Method (ArcObjects .NET 10.6 SDK)
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
);
[C++]

Parameters Layer [in]
Layer is a parameter of type ILayer* AsRatio [in]
AsRatio is a parameter of type bool

Product Availability

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

See Also

ISchematicInMemoryFeatureNodeOnLinkGeometry Interface