[]
        
(Showing Draft Content)

C1.C1Preview.IStyleOwner.GetProp

GetProp Method

GetProp(int, IScriptContext)

Gets the value of a style property existing on the current object (does not attempt to resolve properties not explicitly defined on the current object).

Declaration
object GetProp(int propKey, IScriptContext context)
Parameters
Type Name Description
int propKey

The property key (any of the Style.c_propXXX constants).

IScriptContext context

C1.C1Preview.Scripting.IScriptContext that should be used to get calculated properties.

Returns
Type Description
object

The property value.