Calculate the length of the segment.

syntaxSyntax:
DlxSegment.Length()

Return Value

Returns the length of the segment.

Example

  Copy codeCopy code
var seg = new DlxSegment(10, 20, 50, 60);
DlxApp.Printf("Length=%.2f", seg.Length());

See also