.. highlightlang:: us .. index:: auto_UpdatePage .. _auto_updatepage: auto_UpdatePage =============== .. us.tag auto_UpdatePage NOTREADYENGLISH :ref:`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. .. function:: bool = auto_UpdatePage() bool = auto_UpdatePage(bRemoveUnusedDollarText) .. us.params **Parameters** .. uparam:: bRemoveUnusedDollarText If *bRemoveUnusedDollarText* is TRUE (1) all unused placeholders will be removed. Default value is TRUE (1). .. seealso:: :ref:`overview-automation`, :ref:`auto_LoadTemplate`, :ref:`auto_LoadDataset` :sub:`id-792485`