VintaSoft Imaging .NET SDK 12.3: Documentation for .NET developer
Vintasoft.Imaging Namespace / VintasoftImage Class / GetPixelColor(Int32,Int32) Method
Syntax Requirements SeeAlso
In This Topic
    GetPixelColor(Int32,Int32) Method (VintasoftImage)
    In This Topic
    Returns the color of the specified pixel in this VintasoftImage.
    Syntax
    'Declaration
    
    Public Function GetPixelColor( _
    ByVal x
    The x-coordinate of the pixel to retrieve.
    As System.Int32, _
    ByVal y
    The y-coordinate of the pixel to retrieve.
    As System.Int32 _
    ) As Vintasoft.Imaging.ImageColors.ColorBase
    public Vintasoft.Imaging.ImageColors.ColorBase GetPixelColor(
    System.Int32 x,
    System.Int32 y
    )
    public: Vintasoft.Imaging.ImageColors.ColorBase* GetPixelColor(
    System.Int32 x,
    System.Int32 y
    )
    public:
    Vintasoft.Imaging.ImageColors.ColorBase^ GetPixelColor(
    System.Int32 x,
    System.Int32 y
    )

    Parameters

    x
    The x-coordinate of the pixel to retrieve.
    y
    The y-coordinate of the pixel to retrieve.

    Return Value

    A ColorBase that represents the color of the specified pixel.
    Requirements

    Target Platforms: .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

    See Also