![]()  | 
                    
                         This document is archived and information here might be outdated. Recommended version.  | 
                
The red color component.
[Visual Basic .NET]
Public Sub GetColor ( _
    ByRef pRed As Integer, _
    ByRef pGreen As Integer, _
    ByRef pBlue As Integer _
)
[C#]
public void GetColor (
    ref int pRed,
    ref int pGreen,
    ref int pBlue
);
[C++]
HRESULT GetColor(
  System.Int32* pRed,
  System.Int32* pGreen,
  System.Int32* pBlue
);
[C++] Parameters pRed [out]
pRed is a parameter of type long* pGreen [out]
pGreen is a parameter of type long* pBlue [out]
pBlue is a parameter of type long*
Retrieves the red, green and blue color values of the point.
pRed is the red color component.
pGreen is the green color component.
pBlue is the blue color component.