name This is the name of the style that the value is being retrieved for.
Zurückgegebener Wert
string
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);
}