Gets or sets a value added to the total cost of a route for each piece of the routing grid occupied by the route.
SyntaxVB6
Copy Code
|
|---|
Public Property Get LengthCost() As Byte |
C++
Copy Code
|
|---|
public: |
A byte value. The default is 2.
RemarksThis is a penalty value added to the total cost of an evaluated arrow route for each piece of the routing grid it occupies. The routing algorithm aims to find paths that have a minimal cost, so assigning a greater value to LengthCost leads to generating shorter paths.
See Also