property stringValue

(r/w) string stringValue;

Typ

Zugriff

This property is used to get and set the string value for the style variant.
function onSample()
{
    var rootBox = scene.rootBox;
    if (rootBox)
    {
        var styleVar = rootBox.getStyle("vAlign");
        if (styleVar && !styleVar.isNull)
        {
            shell.print("value = " + styleVar.stringValue);
        }
    }
}