Link Search Menu Expand Document

HSVG enuNewSvgHmiFile(wchar_t* pStrFileName)

HSVG enuNewSvgHmiFile(wchar_t* pStrFileName)

Parameters

  • wchar_t* pStrFileName

HMI영역의 새로운 SVG파일이름을 입력합니다.

Return Value

Type : HSVG

생성된 SVG핸들을 반환합니다.

Remarks

HMI영역에 새로운 SVG파일을 생성합니다.

Examples

HVIEW ViewHandle = NULL; 
void CSampleView::OnInitialUpdate() 
{ 
    CView::OnInitialUpdate(); 

    enuCreateProject(); 

    // Load Project
    enuLoadProjectFile(L"Project\\sample.enup"); 

    // Create View
    ViewHandle = enuCreateView(this->m_hWnd); 

    // New hmi svg. 
    CString strPicture = L"library\\hmi\\user_library.svg"; 
    HSVG SvgHandle = enuNewSvgHmiFile(strPicture.GetBuffer(0)); 
}