Element.Type



Type() As Long
ED
read only
RT
read only

Remarks

Returns the type of the "Element" object.

The following table gives an overview of the common element types:

Value
Hex
Name Description
0
&H0 tpDynBargraph Bar Graph
1
&H1 tpDynZahlenElem Numerical value
2
&H2 tpDynText Link Text
4
&H4 tpDynTrend Trend Graph
5
&H5 tpDynZeiger Indicating instrument
6
&H6 tpDynBewegt Move element
7
&H7 tpDynBinaer Binary element
8
&H8 tpDynBitmap Bitmap button
9
&H9 tpDynVerkn Invisible button
10
&HA tpDynButton Text button
11
&HB tpDynSchalter Switch
12
&HC tpDynMulitbin Multi-binary element
13
&HD tpDynMeldung Message
14
&HE tpDynUhr Clock
15
&HF tpDynBefMdi Command element
16
&H10 tpDynStatus State element
17
&H11 tpDynBaButton Picture alarm
18
&H12 tpDynControl Control element
19
&H13 tpDynAegel  
20
&H14 tpDynActiveX ActiveX element
21
&H15 tpDynTopLgt Topological line
22
&H16 tpDynTopStrg Topological branch
23
&H17 tpDynInstrument Universal Slider
24
&H18 tpDynCombiList ComboListBox
100
&H64 tpDot  
101
&H65 tpLine Line
102
&H66 tpRectangle Rectangle
103
&H67 tpCircle Ellipse / Circle
104
&H68 tpPolyLine Polyline
107
&H6B tpText Text
108
&H6C tpArc Arc of circle
109
&H6D tpSolid  
111
&H6F tpTraceDr  
114
&H72 tpKegel  
115
&H73 tpFillPara  
116
&H74 tpFillTria  
117
&H75 tpFillBlock  
121
&H79 tpPie Pie
127
&H7F tpRoundRect Rounded rectangle
128
&H80 tpPolygon Polygon
129
&H81 tpSymbol Embedded symbol
130
&H82 tpSymbolLnk Linked symbol
131
&H83 tpSegme_Dxf Graphical element of DXF
133
&H85 tpWMF Graphical element of WMF
134
&H86 tpEMF Graphical element of EMF
135
&H87 tpWinkel 3D-angle
136
&H88   Tube

See Also

Element