Hi,
Im Using Visual C++ Windows Forms in Visual studio 2008
I am trying to use ToCOLORREF (ToCOLORREF Method (ColorColor))
However, I keep getting error...
'ToCOLORREF' : is not a member of 'System:rawing::Color'
Code:#include<gdiplus.h> #include<Gdipluscolor.h> #include<windows.h>Anyone know why this won't work or can help me overcome this problem?Code:for(int i = 0; i < iImageW; i++) { for(int j = 0; j < iImageH; j++) { // Get the Pixel colour at i, j Color c1 = Bmp1->GetPixel(i, j); COLORREF crRGB = c1.ToCOLORREF(); ...
thanks in adavnce



LinkBack URL
About LinkBacks
rawing::Color'



