void enuSetSelectZOrder() method
void enuSetSelectZOrder(
[in] HVIEW hView,
[in] int OrderType
};
Parameters
hView [in]
Type:HVIEW
enuSpace View Handle
OrderType [in]
Type:int
DEF_BRINGTOFRONT 0
DEF_SENDTOBACK 1
DEF_BRINGFORWARD 2
DEF_SENDBACKWARD 3
Return value
Type : void
Remarks
enuSpace SDK를 이용시, 랜더러 뷰 객체의 선택객체의 Bring To Front, Send To Back, Bring to Forward, Send Backward 기능을 수행하는 함수.
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();
void enuAddSelectObjectByNode();
'enuSpace SDK API > enuSpace SDK API 2D' 카테고리의 다른 글
enuSpace :: enuSetWindowPos() (0) | 2016.02.23 |
---|---|
enuSpace :: enuSetSelectObject() (0) | 2016.02.17 |
enuSpace :: enuAddSelectObjectByNode() (0) | 2016.02.17 |
enuSpace :: enuSelectObjectListClear() (0) | 2016.02.17 |
enuSpace :: enuSetCanvasColor() (0) | 2016.01.22 |