getPosition

Class: slmetric.dashboard.CustomWidget
Package: slmetric.dashboard

Obtain custom widget position within Metrics Dashboard

Syntax

Num = getPosition(CustomWidget)

Description

Num = getPosition(CustomWidget) returns the position of an slmetric.dashboard.CustomWidget object within an array that holds Metrics Dashboard objects. These objects are in an slmetric.dashboard.Layout, an slmetric.dashboard.Group, or an slmetric.dashboard.Container object. The order of objects in the array corresponds to proceeding from left to right, and then down in the Metrics Dashboard.

Input Arguments

expand all

Specify the slmetric.dashboard.CustomWidget object for which you get its position in the array.

Output Arguments

expand all

Position of slmetric.dashboard.CustomWidget object within an array that holds the Metrics Dashboard objects in an slmetric.dashboard.Layout, an slmetric.dashboard.Group, or an slmetric.dashboard.Container object.

Data Types: double

Introduced in R2018b