function onSample()
{
var rootBox = scene.rootBox;
if (rootBox)
{
var styleVar = rootBox.getStyle("margin");
if (styleVar && !styleVar.isNull)
{
var rectValue = styleVar.rectValue;
if (rectValue)
{
var bottom = rectValue.bottom;
if (bottom && !bottom.isNull)
{
shell.print("bottom = " + bottom.intValue);
}
}
}
}
}