|   |   | Object Model Reference : Classes : C : CorelScript : Methods : CorelScript.GetObjectType | 
Function GetObjectType() As Long
Member of CorelScript
The GetObjectType method returns a value that indicates the type of the selected object (or of the last object in a selection):
| • | 0 = reserved for future use
 | 
| • | 1 = rectangle
 | 
| • | 2 = ellipse
 | 
| • | 3 = curve
 | 
| • | 4 = text
 | 
| • | 5 = bitmap
 | 
| • | 6 = paragraph text
 | 
| • | 7 = OLE
 | 
| • | 9 = symmetrical polygon
 | 
| • | 12 = grouped objects
 | 
|   |   |   | 
Copyright 2013 Corel Corporation. All rights reserved.