property keywordValue

(r/w) int32 keywordValue;

Typ

Zugriff

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