This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Schematic > ESRI.ArcGIS.Schematic > Interfaces > IS > ISchematicInMemoryFeatureNodeOnLinkGeometry Interface > ISchematicInMemoryFeatureNodeOnLinkGeometry.GetDistance Method (ArcObjects .NET 10.5 SDK) |
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