Skip to main content

PCMSMatrixSetComputeTollandStateMiles

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

Last updated July 8, 2025.