auto_UpdatePage should be the last function called to finish the template page. The function copies the created legend text in the text object with the $LEGEND$ place-holder, updates legend size, and updates the page on the monitor.
Parameters
If bRemoveUnusedDollarText is TRUE (1) all unused placeholders will be removed.
See also
id-792485