Syntax 

int PCMSMatrixSetComputeTollandStateMiles (bool setTolls)


Parameters 

bool setTolls – Set to True to specify that toll dollars by state should be generated in the route matrix.


Description

Allows the calling application to specify that toll dollars by state should be generated. Use the Toll Miles by State (option 6) with the PCMSMatrixGetCell API to get the toll amount from the matrix. (A license for the Tolls add-on is required.)


Return Values 

An integer return code. Negative one (-1) indicates that the product is not licensed for RouteMatrix.


Supported Since: PC*MILER Connect 27

Category: Matrix Functions