GetLength Method (IMathLine)

GetLength Method (IMathLine) | Send Feedback
See Also Example

Length[out]
  Length of the bounded mathematical line only; not defined for Rays or InfiniteLines

Gets the length of the bounded mathematical line.

# Syntax

Visual Basic |
--- | ---
    Function GetLength() As System.Double

C# |
--- | ---
    System.double GetLength()

JavaScript |
--- | ---
    GetLength() : Number

COM native C++ |
--- | ---
    HRESULT GetLength(
       DOUBLE* Length
    )

C++ |
--- | ---
    DSRESULT GetLength(
       double* Length
    )

#### Parameters

Length[out] or Return Value
  Length of the bounded mathematical line only; not defined for Rays or InfiniteLines

# Example

Rotate, Scale, Project, and Mirror a Line Entity (JavaScript)
Rotate, Scale, Project, and Mirror a Line Entity (VB.NET)
Rotate, Scale, Project, and Mirror a Line Entity (C#)
Rotate, Scale, Project, and Mirror a Line Entity (VBA)

# See Also

####

IMathLine Interface
IMathLine Members

# Availability

DraftSight V1R1.4