Get your 6-month No-Cost Opt-Out offer for Unlimited software automation!

Method Common.ColorGetRedChannel

Extracts Red Channel from Integer Argb color structure

Usage

Function ZAP.Common.ColorGetRedChannel ( 
	Integer ArgbColor
)

Parameters

ArgbColor

Type: Integer

Integer Argb color structure

Returns

Red channel data

Example

VBScript

' Make gray (RGB: 128, 128, 128) color and display red channel in message box
color = Zap.Common.ColorMakeFromRGB(128, 128, 128)
msgbox Zap.Common.ColorGetRedChannel(color)

JavaScript

// Make gray (RGB: 128, 128, 128) color and display red channel in message box
var color = Zap.Common.ColorMakeFromRGB(128, 128, 128);
alert(Zap.Common.ColorGetRedChannel(color));

Documentation Categories

ZAPTEST

FARM

LOAD