|
TalMap SDK Libary Reference |
XUtility::GetRedValue |
RGB °ª¿¡¼ Red °ªÀ» È®ÀÎÇÕ´Ï´Ù. |
|
|
|
Parameters
|
|
Return Value
|
|
Remarks
|
GetRedValue ´Â XUtility ÀÇ Method·Î Á¦°øµË´Ï´Ù.
»ç¿ëÀÚ´Â ÀÌ ¸Þ¼Òµå¸¦ ÀÌ¿ëÇÏ¿©, RGB °ª Áß Red °ªÀ» È®ÀÎÇÒ ¼ö ÀÖ½À´Ï´Ù.
|
|
|
|
Example
|
|
var util = m_Map.GetUtility();
var RGBColor = util.RGBColor(255, 0, 255);
var red = util.GetRedValue(RGBColor);
var green = util.GetGreenValue(RGBColor);
var blue = util.GetBlueValue(RGBColor);
alert("RGBColor Red:"+red+" Green:"+ green+" Blue:"+ blue);
|
|
|
#include "CXUtility.h"
CXUtility util = m_Map.GetUtility();
long RGBColor = util.RGBColor(255, 0, 255);
long red = util.GetRedValue(RGBColor);
long green = util.GetGreenValue(RGBColor);
long blue = util.GetBlueValue(RGBColor);
CString msg;
msg.Format(_T("RGBColor Red[%d] Green[%d] Blue[%d]"), red, green, blue);
|
|
|
TalMapXLib.IXUtility util = m_Map.GetUtility();
int RGBColor = util.RGBColor(255, 0, 255);
int red = util.GetRedValue(RGBColor);
int blue = util.GetBlueValue(RGBColor);
int green = util.GetGreenValue(RGBColor);
MessageBox.Show("RGBColor Red["+red+"] Green[+" green + "] Blue ["+ blue+"]");
|
|
|
Dim util As TalMapXLib.IXUtility
Dim RGBColor As Long
Dim Red As Long
Dim Green As Long
Dim Blue As Long
RGBColor = util.RGBColor(255, 0, 255)
Red = util.GetRedValue(RGBColor)
Green = util.GetGreenValue(RGBColor)
Blue = util.GetBlueValue(RGBColor)
MsgBox ("RGBColor Red[" & Red & "] Green [" & Green & "] Blue [ " & Blue & "]")
|
|
|
|
See Also
|
|