Graphics Constants

The following table shows the FillStyle property constants you can use anywhere in your code in place of actual values.

Constant
Value
Description
vbFSSolid 0 Solid
vbFSTransparent 1 Transparent
vbHorizontalLine 2 Horizontal line
vbVerticalLine 3 Vertical line
vbUpwardDiagonal 4 Upward diagonal
vbDownwardDiagonal 5 Downward diagonal
vbCross 6 Cross
vbDiagonalCross 7 Diagonal cross

The following table shows the ScaleMode property constants you can use anywhere in your code in place of actual values.

Constant
Value
Description
vbUser 0 User
vbTwips 1 Twips
vbPoints 2 Points
vbPixels 3 Pixels
vbCharacters 4 Characters
vbInches 5 Inches
vbMillimeters 6 Millimeters
vbCentimeters 7 Centimeters
vbHiMetric 8 HiMetric
vbContainerPosition 9 Units used by the control's container to determine the control's position
vbContainerSize 10 Units used by the control's container to determine the control's size