.. highlightlang:: us .. index:: LayerUpdateDocumentMap .. _layerupdatedocumentmap: LayerUpdateDocumentMap ====================== .. us.tag LayerUpdateDocumentMap ENGLISH LayerSet New5400 :ref:`LayerUpdateDocumentMap` updates the document table that is used for the axes links. .. function:: bool = LayerUpdateDocumentMap(hLayer, ssAxis, bForceUpdate) .. us.return **Return Value** If the function succeeds, the return value is TRUE (1); otherwise it is FALSE (0). .. us.params **Parameters** .. uparam:: hLayer Identifies the layer. .. uparam:: ssAxis *ssAxis* is a scalar string with the value "X" or "Y". "Z" is not supported. .. uparam:: bForceUpdate If *bForceUpdate* is TRUE (1), the axis scale in the document is overwritten. If *bForceUpdate* is FALSE (0), the axis scale is only updated if the scaling is more recent. .. us.comment **Comment** See :ref:`LayerSetAxisLinkName`. **History** .. list-table:: :header-rows: 1 * - Version - Description * - R2012 (5.40.0) - New. .. seealso:: :ref:`overview-diagrams`, :ref:`LayerCreate`, :ref:`LayerGetLink`, :ref:`LayerGetAxisLink`, :ref:`LayerSetAxisLinkName`, :ref:`LayerGetAxisLinkName`, :ref:`PageUpdateAxisLink` :sub:`id-844596`