void enuAddSelectObjectByNode() method
void enuAddSelectObjectByNode(
[in] HVIEW hView,
[in] HNODE hNode
};
Parameters
hView [in]
Type:HVIEW
enuSpace View Handle
hNode [in]
Type:HNODE
그래픽 객체 핸들 (Graphics Object Node Handle)
Return value
Type : void
Remarks
enuSpace SDK를 이용시, 랜더러 뷰 객체의 선택객체를 추가하는 함수. 선택 객체 조작 함수와 조합하여 사용을 수행.
Examples
enuSpace SDK
HVIEW ViewHandle = NULL;
void CSampleView::OnInitialUpdate()
{
CView::OnInitialUpdate();
enuCreateProject();
enuLoadProjectFile(L"Project\\sample.enup");
ViewHandle = enuCreateView(this->m_hWnd);
enuSelectObjectListClear(ViewHandle);
enuCreatePolyline(pSvg, L"", L"100,100 200,120 300,150", 0, 0);
HNODE hnode = enuCreatePolyline(pSvg, L"", L"100,100 200,120 300,150", 0, 0);
enuAddSelectObjectByNode(ViewHandle, hnode);
enuSetSelectZOrder(ViewHandle, DEF_BRINGTOFRONT);
}
Reference
void enuSelectObjectListClear();
'enuSpace SDK API > enuSpace SDK API 2D' 카테고리의 다른 글
enuSpace :: enuSetSelectObject() (0) | 2016.02.17 |
---|---|
enuSpace :: enuSetSelectZOrder() (0) | 2016.02.17 |
enuSpace :: enuSelectObjectListClear() (0) | 2016.02.17 |
enuSpace :: enuSetCanvasColor() (0) | 2016.01.22 |
enuSpace :: enuSetWindowColor() (0) | 2016.01.22 |