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
)

ZAP Utility

Zap..BlueChannel

Zap.Var..color")

blueChannel

ArgbColor

Output Parameter

Parameters

ArgbColor

Type: Integer

Integer Argb color structure

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)

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

Comment

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

ZAP Utility

Zap...FromRGB

128

128

128

color

ZAP Utility

Zap..BlueChannel

Zap.Var.."color")

blueChannel

Contact Us

Tower Place 100

3340 Peachtree Rd NE #1800 

Atlanta, GA 30326 USA

(404) 814-5227