Eyeshot 11 WinForms API Reference
WinForms Assembly / devDept.Graphics Namespace / D3DRenderContext Class / GetPixel Method
The x window coordinate of the pixel to retrieve
The y window coordinate of the pixel to retrieve (0 on bottom)

In This Topic
    GetPixel Method (D3DRenderContext)
    In This Topic
    Gets the color of the specified pixel in this viewport
    Syntax
    'Declaration
     
    Public Overrides Function GetPixel( _
       ByVal x As Integer, _
       ByVal y As Integer _
    ) As Color
    public override Color GetPixel( 
       int x,
       int y
    )

    Parameters

    x
    The x window coordinate of the pixel to retrieve
    y
    The y window coordinate of the pixel to retrieve (0 on bottom)

    Return Value

    The color of the pixel
    See Also