Description
Returns the workstate id, using the object supplied as parameter.
Syntax
Dim workstateid as Integer = Workstate(obj) |
obj
a generic object, that has a workstate attribute. Typically, it's an img object.
Code
<Extension()> _
Public Function Workstate(ByVal obj As IGenericAttrObj) As Integer
Return GetInteger(obj, "workstateRef")
End Function
See also