' VISCONST.BAS - Visio Automation Constants
' Copyright (C) 1991-1994 Shapeware Corporation. All rights reserved.

Global Const visApi$ = "visio.application"

Global Const visDeselect% = 1
Global Const visSelect% = 2
Global Const visSubSelect% = 3
Global Const visDeselectAll% = 256

Global Const visNumber% = 32
Global Const visTypeUnits% = 48
Global Const visPoints% = 50
Global Const visPicas% = 51
Global Const visDidots% = 53
Global Const visCiceros% = 54
Global Const visPageUnits% = 63
Global Const visDrawingUnits% = 64
Global Const visInches% = 65
Global Const visFeet% = 66
Global Const visMiles% = 68
Global Const visCentimeters% = 69
Global Const visMillimeters% = 70
Global Const visMeters% = 71
Global Const visKilometers% = 72
Global Const visInchFrac% = 73
Global Const visMileFrac% = 74
Global Const visYards% = 75
Global Const visAngleUnits% = 80
Global Const visDegrees% = 81
Global Const visDegreeMinSec% = 82
Global Const visRadians% = 83
Global Const visMin% = 84
Global Const visSec% = 85

Global Const visPrintSetup% = 0
Global Const visTight% = 1
Global Const visStandard% = 2
Global Const visCustom% = 3
Global Const visLogical% = 4

Global Const visNoScale% = 0
Global Const visArchitectural% = 1
Global Const visEngineering% = 2
Global Const visScaleCustom% = 3

Global Const visRulerFine% = 32
Global Const visRulerNormal% = 16
Global Const visRulerCoarse% = 8

Global Const visGridFine% = 8
Global Const visGridNormal% = 4
Global Const visGridCoarse% = 2

Global Const visDrawing% = 1
Global Const visStencil% = 2
Global Const visSheet% = 3
Global Const visIcon% = 4

Global Const visLeft% = 1
Global Const visCenter% = 2
Global Const visRight% = 3

Global Const visNormal% = 1
Global Const visTall% = 2
Global Const visWide% = 3
Global Const visDouble% = 4

Global Const visAutomatic% = 1
Global Const visManual% = 0

Global Const visConnectError% = -1
Global Const visNone% = 0

Global Const visConnectFromError% = -1
Global Const visFromNone% = 0
Global Const visLeftEdge% = 1
Global Const visCenterEdge% = 2
Global Const visRightEdge% = 3
Global Const visBottomEdge% = 4
Global Const visMiddleEdge% = 5
Global Const visTopEdge% = 6
Global Const visBeginX% = 7
Global Const visBeginY% = 8
Global Const visBegin% = 9
Global Const visEndX% = 10
Global Const visEndY% = 11
Global Const visEnd% = 12
Global Const visControlPoint% = 100

Global Const visConnectToError% = -1
Global Const visToNone% = 0
Global Const visGuideX% = 1
Global Const visGuideY% = 2
Global Const visConnectionPoint% = 100
Global Const visWholeShape% = 3

Global Const visPoint% = 1
Global Const visHorz% = 2
Global Const visVert% = 3

Global Const visTypeStyle% = 6
Global Const visTypeGroup% = 2
Global Const visTypeShape% = 3
Global Const visTypeForeignObject% = 4
Global Const visTypeGuide% = 5

Global Const visBold% = 1
Global Const visItalic% = 2
Global Const visUnderLine% = 4
Global Const visSmallCaps% = 8

Global Const visCaseNormal% = 0
Global Const visCaseAllCaps% = 1
Global Const visCaseInitialCaps% = 2

Global Const visPosNormal% = 0
Global Const visPosSuper% = 1
Global Const visPosSub% = 2

Global Const visHorzLeft% = 0
Global Const visHorzCenter% = 1
Global Const visHorzRight% = 2
Global Const visHorzJustify% = 3
Global Const visHorzForce% = 4

Global Const visTabStopLeft% = 0
Global Const visTabStopCenter% = 1
Global Const visTabStopRight% = 2
Global Const visTabStopDecimal% = 3
Global Const visTabStopComma% = 4

Global Const visVertTop% = 0
Global Const visVertMiddle% = 1
Global Const visVertBottom% = 2

Global Const visNoFill% = 0
Global Const visSolid% = 1
Global Const visWideUpDiagonal% = 2
Global Const visWideCross% = 3
Global Const visWideDiagonalCross% = 4
Global Const visWideDownDiagonal% = 5
Global Const visWideHorz% = 6
Global Const visWideVert% = 7
Global Const visBackDotsMini% = 8
Global Const visHalfAndHalf% = 9
Global Const visForeDotsMini% = 10
Global Const visForeDotsNarrow% = 11
Global Const visForeDotsWide% = 12
Global Const visThickHorz% = 13
Global Const visThickVertical% = 14
Global Const visThickDownDiagonal% = 15
Global Const visThickUpDiagonal% = 16
Global Const visThickDiagonalCross% = 17
Global Const visBackDotsWide% = 18
Global Const visThinHorz% = 19
Global Const visThinVert% = 20
Global Const visThinDownDiagonal% = 21
Global Const visThinUpDiagonal% = 22
Global Const visThinCross% = 23
Global Const visThinDiagonalCross% = 24

Global Const visTransparent% = 0

Global Const visBlack% = 0
Global Const visWhite% = 1
Global Const visRed% = 2
Global Const visGreen% = 3
Global Const visBlue% = 4
Global Const visYellow% = 5
Global Const visMagenta% = 6
Global Const visCyan% = 7
Global Const visDarkRed% = 8
Global Const visDarkGreen% = 9
Global Const visDarkBlue% = 10
Global Const visDarkYellow% = 11
Global Const visPurple% = 12
Global Const visDarkCyan% = 13
Global Const visGray% = 14
Global Const visGray10% = 15
Global Const visGray20% = 16
Global Const visGray30% = 17
Global Const visGray40% = 18
Global Const visDarkGray% = 19
Global Const visGray50% = 19
Global Const visGray60% = 20
Global Const visGray70% = 21
Global Const visGray80% = 22
Global Const visGray90% = 23

Global Const visSectionFirst% = 0
Global Const visSectionLastComponent% = 250
Global Const visSectionLast% = 252
Global Const visSectionText% = 253
Global Const visSectionForeign% = 254
Global Const visSectionNone% = 255
Global Const visSectionObject% = 1
Global Const visSectionMember% = 2
Global Const visSectionCharacter% = 3
Global Const visSectionParagraph% = 4
Global Const visSectionTab% = 5
Global Const visSectionScratch% = 6
Global Const visSectionExport% = 7
Global Const visSectionTextField% = 8
Global Const visSectionControls% = 9
Global Const visSectionFirstComponent% = 10

Global Const visRowFirst% = 0
Global Const visRowLast% = -2
Global Const visRowNone% = -1
Global Const visRowXFormOut% = 1
Global Const visRowLine% = 2
Global Const visRowFill% = 3
Global Const visRowXForm1D% = 4
Global Const visRowEvent% = 5
Global Const visRowGuide% = 7
Global Const visRowStyle% = 8
Global Const visRowForeign% = 9
Global Const visRowPage% = 10
Global Const visRowText% = 11
Global Const visRowTextXForm% = 12
Global Const visRowXFormIn% = 1
Global Const visRowAlign% = 14
Global Const visRowLock% = 15
Global Const visRowData123% = 16
Global Const visRowMisc% = 17
Global Const visRowMember% = 0
Global Const visRowField% = 0
Global Const visRowCharacter% = 0
Global Const visRowParagraph% = 0
Global Const visRowTab% = 0
Global Const visRowScratch% = 0
Global Const visRowExport% = 0
Global Const visRowControl% = 0
Global Const visRowComponent% = 0
Global Const visRowVertex% = 1
Global Const visRowFormat% = 0

Global Const visTagBase% = 130
Global Const visTagTab0% = 136
Global Const visTagComponent% = 137
Global Const visTagMoveTo% = 138
Global Const visTagLineTo% = 139
Global Const visTagArcTo% = 140
Global Const visTagEllipticalArcTo% = 144
Global Const visTagTab2% = 150
Global Const visTagTab10% = 151
Global Const visTagInvalid% = -1

Global Const visX% = 0
Global Const visY% = 1
Global Const visBow% = 2
Global Const visEccentricityAngle% = 4
Global Const visAspectRatio% = 5
Global Const visControlX% = 2
Global Const visControlY% = 3

Global Const visCharacterFont% = 0
Global Const visCharacterColor% = 1
Global Const visCharacterStyle% = 2
Global Const visCharacterCase% = 3
Global Const visCharacterPos% = 4
Global Const visCharacterSize% = 7

Global Const visIndentFirst% = 0
Global Const visIndentLeft% = 1
Global Const visIndentRight% = 2
Global Const visSpaceLine% = 3
Global Const visSpaceBefore% = 4
Global Const visSpaceAfter% = 5
Global Const visHorzAlign% = 6

Global Const visErrorSuccess% = 0
Global Const visErrorDivideByZero% = 39
Global Const visErrorValue% = 47
Global Const visErrorReference% = 55
Global Const visErrorName% = 61
Global Const visErrorNumber% = 68
Global Const visErrorNotAvailable% = 74

Global Const visStatNormal% = 0
Global Const visStatDeleted% = 1
Global Const visStatTouched% = 2

Global Const visCharPropRow% = 1
Global Const visParaPropRow% = 2
Global Const visTabPropRow% = 3
Global Const visWordRun% = 10
Global Const visParaRun% = 11
Global Const visFieldRun% = 20

Global Const visBiasLetVisioChoose% = 0
Global Const visBiasLeft% = 1
Global Const visBiasRight% = 2

Global Const visFCatCustom% = 0
Global Const visFCatDateTime% = 1
Global Const visFCatDocument% = 2
Global Const visFCatGeometry% = 3
Global Const visFCatObject% = 4
Global Const visFCatPage% = 5
Global Const visFCatNotes% = 6

Global Const visFCodeCreateDate% = 0
Global Const visFCodeCreateTime% = 1
Global Const visFCodeCurrentDate% = 2
Global Const visFCodeCurrentTime% = 3
Global Const visFCodeEditDate% = 4
Global Const visFCodeEditTime% = 5
Global Const visFCodePrintDate% = 6
Global Const visFCodePrintTime% = 7

Global Const visFCodeCreator% = 0
Global Const visFCodeDescription% = 1
Global Const visFCodeDirectory% = 2
Global Const visFCodeFileName% = 3
Global Const visFCodeKeyWords% = 4
Global Const visFCodeSubject% = 5
Global Const visFCodeTitle% = 6

Global Const visFCodeWidth% = 0
Global Const visFCodeHeight% = 1
Global Const visFCodeAngle% = 2

Global Const visFCodeData1% = 0
Global Const visFCodeData2% = 1
Global Const visFCodeData3% = 2
Global Const visFCodeObjectID% = 3
Global Const visFCodeMasterName% = 4
Global Const visFCodeObjectName% = 5
Global Const visFCodeObjectType% = 6

Global Const visFCodeBackgroundName% = 0
Global Const visFCodePageName% = 1
Global Const visFCodeNumberOfPages% = 2
Global Const visFCodePageNumber% = 3

Global Const visFmtNumGenNoUnits% = 0
Global Const visFmtNumGenDefUnits% = 1

Global Const visFmt0PlNoUnits% = 2
Global Const visFmt0PlDefUnits% = 3
Global Const visFmt1PlNoUnits% = 4
Global Const visFmt1PlDefUnits% = 5
Global Const visFmt2PlNoUnits% = 6
Global Const visFmt2PlDefUnits% = 7
Global Const visFmt3PlNoUnits% = 8
Global Const visFmt3PlDefUnits% = 9

Global Const visFmtFeetAndInches% = 10
Global Const visFmtRadians% = 11
Global Const visFmtDegrees% = 12
Global Const visFmtFeetAndInches1Pl% = 13
Global Const visFmtFeetAndInches2Pl% = 14

Global Const visFmtFraction1PlNoUnits% = 15
Global Const visFmtFraction1PlDefUnits% = 16
Global Const visFmtFraction2PlNoUnits% = 17
Global Const visFmtFraction2PlDefUnits% = 18

Global Const visFmtDateShort% = 20
Global Const visFmtDateLong% = 21
Global Const visFmtDateMDYY% = 22
Global Const visFmtDateMMDDYY% = 23
Global Const visFmtDateMmmDYYYY% = 24
Global Const visFmtDateMmmmDYYYY% = 25
Global Const visFmtDateDMYY% = 26
Global Const visFmtDateDDMMYY% = 27
Global Const visFmtDateDMMMYYYY% = 28
Global Const visFmtDateDMMMMYYYY% = 29

Global Const visFmtTimeGen% = 30
Global Const visFmtTimeHMM% = 31
Global Const visFmtTimeHHMM% = 32
Global Const visFmtTimeHMM24% = 33
Global Const visFmtTimeHHMM24% = 34
Global Const visFmtTimeHMMAMPM% = 35
Global Const visFmtTimeHHMMAMPM% = 36

Global Const visFmtStrNormal% = 37
Global Const visFmtStrLower% = 38
Global Const visFmtStrUpper% = 39

Global Const visVersionUnsaved& = &H0
Global Const visVersion10& = &H10023
Global Const visVersion20& = &H20000
Global Const visVersion30& = &H30003
