.. highlightlang:: us .. index:: LayerSetWaterfallOffset .. _layersetwaterfalloffset: LayerSetWaterfallOffset ======================= .. us.tag LayerSetWaterfallOffset ENGLISH LayerWaterfall :ref:`LayerSetWaterfallOffset` sets the width and height of a waterfall diagram. .. function:: bool = LayerSetWaterfallOffset(hLayer, rvOffset) .. us.return **Return Value** If the function succeeds, the return value is TRUE (1); otherwise it is FALSE (0). .. us.params **Parameters** .. uparam:: hLayer *hLayer* is a handle of a diagram. .. uparam:: rvOffset *rvOffset* is a vector with two elements: .. list-table:: :header-rows: 1 * - Value - Meaning * - rvOffset[1] - x-coordinate in centimeters * - rvOffset[2] - y-coordinate in centimeters .. us.comment **Comment** The width of a waterfall diagram is the distance between the right corner of the first diagram and the right corner of the last diagram. The height is the distance between the top of the first diagram and the top of the last diagram. .. seealso:: :ref:`overview-diagrams`, :ref:`LayerGetDiagramType`, :ref:`LayerGetWaterfallOffset` :sub:`id-1988890`