|  | CDUDistline Method  | 
 Calculate cummulative distance for a line.
 
    Namespace: 
   Geosoft.Desktop.GXNet
    Assembly:
   geosoft.desktop.gxnet (in geosoft.desktop.gxnet.dll) Version: 2025.1.0.25
 Syntax
Syntaxpublic static void Distline(
	CDB db,
	int line,
	int x_ch,
	int y_ch,
	ref double dist
)
public static void Distline(
	CDB db,
	int line,
	int x_ch,
	int y_ch,
	ref double dist
)
Public Shared Sub Distline ( 
	db As CDB,
	line As Integer,
	x_ch As Integer,
	y_ch As Integer,
	ByRef dist As Double
)
Public Shared Sub Distline ( 
	db As CDB,
	line As Integer,
	x_ch As Integer,
	y_ch As Integer,
	ByRef dist As Double
)
public:
static void Distline(
	CDB^ db, 
	int line, 
	int x_ch, 
	int y_ch, 
	double% dist
)
public:
static void Distline(
	CDB^ db, 
	int line, 
	int x_ch, 
	int y_ch, 
	double% dist
)
static member Distline : 
        db : CDB * 
        line : int * 
        x_ch : int * 
        y_ch : int * 
        dist : float byref -> unit 
static member Distline : 
        db : CDB * 
        line : int * 
        x_ch : int * 
        y_ch : int * 
        dist : float byref -> unit 
Parameters
- db
- Type: GeoEngine.Core.GXNetCDB
 Database
- line
- Type: SystemInt32
 Line symbol
- x_ch
- Type: SystemInt32
 X channel [<define>DB_LOCK_READONLY</define>]
- y_ch
- Type: SystemInt32
 Y channel [<define>DB_LOCK_READONLY</define>]
- dist
- Type: SystemDouble
 Cummulative distance (retruned)
 See Also
See Also