TextOffset

(Engine-Level Function)

Description: Returns the character offset to the definition text of a desired item.
Warning: This function should be used by advanced users only.
Returns: Numeric
Usage: Script Only.
Related to: AdjustCode | GetModuleText | GetOneParmText | GetParmText | GetStateText | GetTransitText | GetVariableText | SetModuleText | SetOneParmText | SetParmText | SetStateText | SetTransitText | SetVariableText | TextSize
Format: TextOffset(CodeValue, Type)
Parameters:  
CodeValue
Required. Any code value expression for the item.
Type
Required. Any numeric expression for the value type of CodeValue.