common, namespace, color, get, blue, channel, rgb, scriptless, script-less, scripted, step, view, stepview

Method Zap.Common.ColorGetBlueChannel

Extracts Blue Channel from Integer Argb color structure

Watch this video to learn how to use this method

Have a problem with playback?

Usage

Function Zap.Common.ColorGetBlueChannel ( 
  Integer ArgbColor,
  Boolean Report [Optional]
)

ZAP Utility

ZAP Utility step

Zap..BlueChannel

Zap.Var..color")

True

blueChannel

ArgbColor

Report

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));

Comment

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

Script-Less next step

ZAP Utility

ZAP Utility step

Zap...FromRGB

128

128

128

color

Script-Less next step

ZAP Utility

ZAP Utility step

Zap..BlueChannel

Zap.Var.."color")

True

blueChannel

Contact Us

1425 Market Blvd Suite 530-230

Roswell, GA 30076, USA

(800) 795-3552