Usage
Function ZAP.Common.ColorGetBlueChannel (
Integer ArgbColor,
Boolean Report [Optional]
)
ZAP Utility
ZAP..BlueChannel
ZAP.Var..color")
True
blueChannel
Integer ArgbColor
Boolean Report [Optional]
Output Parameter
Parameters
ArgbColor
Type: Integer
Integer Argb color structure
Report (optional)
Type: Boolean
Default Value: False
Generate report for this step
Returns
Blue channel data
Example
VBScript
' Make gray (RGB: 128, 128, 128) color and display blue channel in message box
color = Zap.Common.ColorMakeFromRGB(128, 128, 128)
msgbox Zap.Common.ColorGetBlueChannel(color, True)
JavaScript
// Make gray (RGB: 128, 128, 128) color and display blue channel in message box
var color = Zap.Common.ColorMakeFromRGB(128, 128, 128);
alert(Zap.Common.ColorGetBlueChannel(color, true));
ZAP Utility
Zap...FromRGB
128
128
128
color
ZAP Utility
Zap..BlueChannel
Zap.Var.."color")
True
blueChannel

Comment
Make gray (RGB: 128, 128, 128) color and save it's blue channel to variable