Skip to content

ndi.gui.utility.centerFigure

  centerFigure - Center figure window on a reference position

    Syntax:
        centerFigure(figureHandle, referencePosition)

    Input arguments:
        figureHandle - Handle object for a figure
        referencePosition - a reference position. If reference position is
        not give, the current screen size is used. If reference position
        can also be anotehr figure handle, in which case the Position
        property of that figure is used.