PrintDocument for WinForms | ComponentOne
C1.PrintDocument.8 Assembly / C1.C1Preview Namespace / IStyleOwner Interface / GetProp Method
The property key (any of the Style.c_propXXX constants).
C1.C1Preview.Scripting.IScriptContext that should be used to get calculated properties.

In This Topic
    GetProp Method (IStyleOwner)
    In This Topic
    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).
    Syntax
    'Declaration
     
    Function GetProp( _
       ByVal propKey As Integer, _
       ByVal context As IScriptContext _
    ) As Object
    object GetProp( 
       int propKey,
       IScriptContext context
    )

    Parameters

    propKey
    The property key (any of the Style.c_propXXX constants).
    context
    C1.C1Preview.Scripting.IScriptContext that should be used to get calculated properties.

    Return Value

    The property value.
    See Also