Han-Get Object type as Name

From Vectorlab
Jump to: navigation, search


Returns the object type of an object as string. For example passing a handle to a line will return "Line". This is localized, so you'll get another string if your VW is not English. By Orso B. Schmid


{ Orso *********************************************** }
{ returns the type or subtype of an object as string }
{ this under circumstances returns a different string than H_GetTypeName }
{ it is localized }
FUNCTION H_Type2Str(h : HANDLE): STRING;
	BEGIN
		H_Type2Str := EvalStr(h, ST);
	END;