' This VB-Script contains definitions of all constants that can be used
' with the PCAN-Explorer 6 Instruments Panel Add-in
'-----------------------------------------------------------------------------
' Copyright (c) 2016 PEAK-System Technik GmbH.  All rights reserved.

const peDocumentKindInstrumentsPanel = "{DFAFFAC0-2F50-428E-824C-B97089CD5F3F}"
const peControlTypeBar = "Bar"
const peControlTypeVerticalBar = "VerticalBar"
const peControlTypeHorizontalBar = "HorizontalBar"
const peControlTypeVerticalMeter = "VerticalMeter"
const peControlTypeHorizontalMeter = "HorizontalMeter"
const peControlTypeAnalog120Meter = "Analog120Meter"
const peControlTypeAnalog180Meter = "Analog180Meter"
const peControlTypeAnalog270Meter = "Analog270Meter"
const peControlTypeAnalog360Meter = "Analog360Meter"
const peControlTypeValueIndicator = "ValueIndicator"
const peControlTypeDial = "Dial"
const peControlTypeVerticalSlider = "VerticalSlider"
const peControlTypeHorizontalSlider = "HorizontalSlider"
const peControlTypeLED = "LED"
const peControlTypeToggleSwitch = "ToggleSwitch"
const peControlTypeRockerSwitch = "RockerSwitch"
const peControlTypeClock = "Clock"
const peControlTypeTrend = "Trend"
const peControlTypeLabel = "Label"
const peControlTypePictureBox = "PictureBox"
const peControlTypeBitmapList = "BitmapList"
const peControlTypeButton = "Button"
const peControlTypeValueEdit = "ValueEdit"
const peControlTypeShape = "Shape"

' Enumeration PePictureBoxSizeMode
const peSizeModeNormal = 0
const peSizeModeStretchImage = 1
const peSizeModeAutoSize = 2
const peSizeModeCenterImage = 3

' Enumeration PeContentAlignment
const peAlignTopLeft = 0
const peAlignTopCenter = 1
const peAlignTopRight = 2
const peAlignMiddleLeft = 3
const peAlignMiddleCenter = 4
const peAlignMiddleRight = 5
const peAlignBottomLeft = 6
const peAlignBottomCenter = 7
const peAlignBottomRight = 8

' Enumeration PeLabelValueFormat
const peValueFormatDefault = 0
const peValueFormatShortest = 1
const peValueFormatFixed = 2
const peValueFormatScientific = 3
const peValueFormatHex = 4
const peValueFormatBin = 5

' Enumeration PeGradientStyle
const peGradientStyleHorizontal1 = 0
const peGradientStyleHorizontal2 = 1
const peGradientStyleHorizontal3 = 2
const peGradientStyleVertical1 = 3
const peGradientStyleVertical2 = 4
const peGradientStyleVertical3 = 5
const peGradientStyleElliptic1 = 6
const peGradientStyleElliptic2 = 7
const peGradientStyleElliptic3 = 8
const peGradientStyleRectangle = 9
const peGradientStyleDiamond1 = 10
const peGradientStyleDiamond2 = 11
const peGradientStyleTopLeft = 12
const peGradientStyleTopRight = 13

' Enumeration PeBorderStyle
const peBorderStyleLowered = 0
const peBorderStyleRaised = 1
const peBorderStyleFlat = 2

' Enumeration PeBarStyle
const peBar = 0
const peLED = 1
const peLine = 2

' Enumeration PeLEDShape
const peLEDShapeRound = 0
const peLEDShapeArrowLeft = 1
const peLEDShapeArrowRight = 2
const peLEDShapeArrowUp = 3
const peLEDShapeArrowDown = 4
const peLEDShapeRectangle = 5

' Enumeration PeLEDOrientation
const peLEDOrientationLeft = 0
const peLEDOrientationRight = 1
const peLEDOrientationTop = 2
const peLEDOrientationBottom = 3

' Enumeration PeImageAlignment
const peImageAlignCenter = 0
const peImageAlignLeft = 1
const peImageAlignTopLeft = 2
const peImageAlignTop = 3
const peImageAlignTopRight = 4
const peImageAlignRight = 5
const peImageAlignBottomRight = 6
const peImageAlignBottom = 7
const peImageAlignBottomLeft = 8

' Enumeration PeDialPointer
const peDialPointerRound = 0
const peDialPointerLine = 1
const peDialPointerTriangle = 2

' Enumeration PeSwitchOrientation
const peSwitchOrientationHorizontal = 0
const peSwitchOrientationVertical = 1

' Enumeration PeClockFormat
const peClockFormatDate = 0
const peClockFormatTime = 1
const peClockFormatDateTime = 2

' Enumeration PeBackImageAlignment
const peBackImageAlignCenter = 0
const peBackImageAlignTile = 1
const peBackImageAlignStretch = 2
const peBackImageAlignLeft = 3
const peBackImageAlignTop = 4
const peBackImageAlignRight = 5
const peBackImageAlignBottom = 6
const peBackImageAlignTopLeft = 7
const peBackImageAlignTopRight = 8
const peBackImageAlignBottomRight = 9
const peBackImageAlignBottomLeft = 10
