ArcBasicDocs

GetColor

Sets the drawing colour to the pixel at x,y.

GetColor ( x,y )

Parameters

x
the pixel's x position.
y
the pixel's y position.

Description

Makes the drawing colour the same as the pixel at a point in the current buffer, like a colour picker. Read the result with ColorRed, ColorGreen and ColorBlue.

See also