method getStyleString

string getStyleString(string name);

Argumente

Zurückgegebener Wert

This method returns the value for the style requested formatted as a string. If not found null is returned.
var containerBox = scene.getBoxById("containerBox");
if (containerBox)
{
    var margin = containerBox.getStyleString("margin");
    shell.print("Margin Is: " + margin);
}