[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
    GetPixel()

         Informs of the colour of a point in graphic mode

    Syntax:

         GetPixel( nCol, nRow ) -> Nil

         nCol    : Column of the point to verify
         nRow    : Row of the point to verify

    Description:

         It informs of the colour of a point in graphic mode in the
         specified coordinates.


    Return:

         Nothing.

    Example:

         nModo := SetVGA()
         If GetPixel ( 330, 240 ) == 0
           DispChar ( "It's Black", 20, 20, 3, 0, 10 )
         EndIf
         Inkey(0)
         TxtMode()

See Also: SetPixel()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson