[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 GGETPIXEL()
 Get color information for a pixel
------------------------------------------------------------------------------
 Syntax

     GGETPIXEL(<nX>, <nY>) --> nColor

 Arguments

     <nX> is a numeric value representing the position on the X-axis
     (row).

     <nY> is a numeric value representing the position on the Y-axis
     (column).

 Returns

     GGETPIXEL() returns the value of a specific pixel.

 Description

     GGETPIXEL() can be used to get the color of a specific pixel.

 Examples

     .  The following example retrieves the color of pixel at X-
        coordinate 100 and Y-coordinate 100:

        nColor := GGETPIXEL(100, 100)

 Files   Library is LLIBG.LIB, header file is Llibg.ch.


This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson