|
TalMap SDK Libary Reference |
XObjectBase::IsObjectID |
°³Ã¼(Object)ÀÇ ID ÀÎÁö¸¦ È®ÀÎÇÕ´Ï´Ù. |
|
|
|
Parameters
|
|
Return Value
|
°³Ã¼ ID ÆÇ´Ü ¿©ºÎ.(0: Not Object ID, 1: Object ID)
|
|
|
|
Remarks
|
IsObjectID ´Â XObjectBase ÀÇ Method·Î Á¦°øµË´Ï´Ù.
»ç¿ëÀÚ´Â ÀÌ ¸Þ¼Òµå¸¦ ÀÌ¿ëÇÏ¿© °³Ã¼ÀÇ ID ÀÎÁö¸¦ ÆÇ´ÜÇÒ ¼ö ÀÖ½À´Ï´Ù.
|
|
|
|
Example
|
|
var objectid;
....
var ctrlman = m_Map.GetCtrlMan();
var poiman = ctrlman.GetPOIMan();
if (poiman.IsObjectID(objectid)) {
alert("Object ID");
} else {
alert("Not Object ID");
}
|
|
|
#include "CXCtrlMan.h"
#include "CXPOIMan.h"
long objectid;
....
CXCtrlMan ctrlman = m_Map.GetCtrlMan();
CXPOIMan poiman = ctrlMan.GetPOIMan();
if (poiman.GetObjectID(objectid)) {
AfxMessageBox(_T("Object ID"));
} else {
AfxMessageBox(_T("Not Object ID"));
}
|
|
|
|
See Also
|