ObjType Property

Read-only. A Long type property, gets the type of the shape/service object.

Applies to: ServObj object, Shape object

Syntax

[[Let] shapeTypeRet =] object.ObjType

The ObjType property syntax has these parts:

Part Description
object Required. An expression that returns an instance of an object from the Applies to list.
shapeTypeRet Optional. A Long type variable.

Remarks

The ObjType property can take one of the following values:

Constant Value Description
cdUnknown 0 Unknown object type .
cdShape 1 A simple ConceptDraw shape.
cdGroup 2 A group.
cdConnector 3 A connector.
cdSmartConnector 4 A smart connector.
cdVectorPicture 5 A ConceptDraw Vector Picture.
cdRasterPicture 6 An object that contains raster image.
cdMFPicture 7  
cdPictPicture 8  
cdOLEObject 9 An OLE-object.
cdGuide 10 A guide line.

To check, whether the shape is a 1D-shape or a 2D-shape, use the Is1D property.

 

See Also

Is1D property