Context.getReferenceCount

Returns the current reference count of cr. Since 1.4

class Context
uint
getReferenceCount
()

Return Value

Type: uint

the current reference count of cr. If the object is a nil object, 0 will be returned.