.. highlightlang:: us .. _auto_updatelegendsize: auto_UpdateLegendSize ===================== .. index:: auto_UpdateLegendSize .. us.tag auto_UpdateLegendSize NOTREADYENGLISH :ref:`auto_UpdateLegendSize` updates the size of the legend, already set in the template with the ``$LEGEND$`` bookmark, to the size of the legend text. .. function:: bool = auto_UpdateLegendSize() .. us.comment **Comment** The function is obsolete. It is better to set the **Automatic Size Update** flag of the object. .. seealso:: :ref:`overview-automation`, :ref:`auto_UpdatePage` :sub:`id-327444`