Blue property

Microsoft Visio Developer Reference

Blue property

   Example   

Gets or sets the intensity of the blue component of a Color object.

Version added

4.0

Syntax

intRet = object.Blue
object.Blue = intVal

intRet

Integer. The current value of the color's blue component.

object

Required. An expression that returns a Color object.

intVal

Required Integer. The new value of the color's blue component.

Remarks

The Blue property can be a value from 0 to 255.

A color is represented by red, green, and blue components. It also has a flag that indicates how the color is to be used. These correspond to members of the Microsoft Windows PALETTEENTRY data structure. For details, search for "PALETTEENTRY" in the Microsoft Platform SDK on the Microsoft Developer Network (MSDN) Web site.