Main Content


Class: slmetric.dashboard.Group
Package: slmetric.dashboard

Obtain distance from group edge to contents


pixels = getMargin(Group)


pixels = getMargin(Group) returns how far in pixels the edges of an slmetric.dashboard.Group object is from the widgets that it contains.

Input Arguments

expand all

The slmetric.dashboard.Group object for which you are obtaining the margin distance.

Output Arguments

expand all

Margin distance from group contents in pixels.

Example: '40 px'

Data Types: char

Introduced in R2018b