Export (0) Print
Expand All
Expand Minimize

Color Constant Changes in Visual Basic .NET

The following table shows the Visual Basic 6.0 Color constants and their Visual Basic .NET equivalents.

Visual Basic 6.0Visual Basic .NET Equivalent
vbBlackSystem.Drawing.Color.Black
vbRedSystem.Drawing.Color.Red
vbGreenSystem.Drawing.Color.Lime
vbYellowSystem.Drawing.Color.Yellow
vbBlueSystem.Drawing.Color.Blue
vbMagentaSystem.Drawing.Color.Magenta
vbCyanSystem.Drawing.Color.Cyan
vbWhiteSystem.Drawing.Color.White

See Also

Constant Changes in Visual Basic .NET | Color Changes in Visual Basic .NET | Color Behavior Changes in Visual Basic .NET | System Color Constant Changes in Visual Basic .NET | Constants and Enumerations

Show:
© 2014 Microsoft