Share via


VisObjectTypes Constants

Visio Automation Reference

Codes returned by the ObjectType property.

Constant Value Description

visObjTypeAddon

31

Addon object

visObjTypeAddons

32

Addons collection

visObjTypeApplicationSettings

51

ApplicationSettings object

visObjTypeApp

3

Application object

visObjTypeCell

4

Cell object

visObjTypeChars

5

Characters object

visObjTypeColor

29

Color object

visObjTypeColors

30

Colors collection

visObjTypeConnect

8

Connect object

visObjTypeConnects

9

Connects collection

visObjTypeCurve

42

Curve object

visObjTypeDataColumn

56

DataColumn object

visObjTypeDataColumns

55

DataColumns collection

visObjTypeDataConnection

54

DataConnection object

visObjTypeDataRecordset

53

DataRecordset object

visObjTypeDataRecordsetChangedEvent

57

DataRecordsetChangedEvent object

visObjTypeDataRecordsets

52

DataRecordsets collection

visObjTypeDoc

10

Document object

visObjTypeDocs

11

Documents collection

visObjTypeEventList

34

EventList collection

visObjTypeEvent

33

Event object

visObjTypeFont

27

Font object

visObjTypeFonts

28

Fonts collection

visObjTypeGlobal

36

Global object

visObjTypeGraphicItem

59

GraphicItem object

visObjTypeGraphicItems

58

GraphicItems collection

visObjTypeHyperlink

37

Hyperlink object

visObjTypeHyperlinks

43

Hyperlinks collection

visObjTypeKeyboardEvent

50

KeyboardEvent object

visObjTypeLayer

25

Layer object

visObjTypeLayers

26

Layers collection

visObjTypeMasterShortcut

47

MasterShortcut object

visObjTypeMasterShortcuts

46

MasterShortcuts collection

visObjTypeMaster

12

Master object

visObjTypeMasters

13

Masters collection

visObjTypeMouseEvent

49

MouseEvent object

visObjTypeMSGWrap

48

MSGWrap object

visObjTypeOLEObject

39

OLEObject object

visObjTypeOLEObjects

38

OLEObjects collection

visObjTypePage

14

Page object

visObjTypePages

15

Pages collection

visObjTypePath

41

Path object

visObjTypePaths

40

Paths collection

visObjTypeRow

45

Row object

visObjTypeSection

44

Section object

visObjTypeSelection

16

Selection object

visObjTypeShape

17

Shape object

visObjTypeShapes

18

Shapes collection

visObjTypeStyle

19

Style object

visObjTypeStyles

20

Styles object

visObjTypeUnknown

1

Unknown object

visObjTypeWindow

21

Window object

visObjTypeWindows

22

Windows collection