objectType

objectType(): Integer;

The objectType method of the OleControl class returns the loaded object type.

The returned object type values are listed in the following table.

OleControl Class Constant Value Description
ObjectType_Embedded 1 Embedded object is present
ObjectType_Linked 2 Linked object present
ObjectType_None 0 No object is present