Link Search Menu Expand Document

bool enuSetLogicProperty(HSVG pSvg, wchar_t* pAttribute, wchar_t* pValue)

bool enuSetLogicProperty(HSVG pSvg, wchar_t* pAttribute, wchar_t* pValue)

Parameters

HSVG pSVG : 픽쳐 페이지 핸들을 입력합니다.

wchar_t* pAttribute : 속성 정보를 입력합니다. (“filename”)

wchar_t* pValue : 속성 값을 입력합니다.

Return Value

적용 여부를 반환합니다.

Remarks

Examples

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

    enuCreateProject(); 

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

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

    // edit mode unactivate.
    enuSetEditOperationMode(ViewHandle , false);

    // default mouse wheel control set.
    enuSetDefaultWheelControl(ViewHandle , true);

    // view activate
    enuActivateView(ViewHandle );

    // New Page Create. 
    CString strPicture = L"library\\logic\\logic.svg"; 
    
    HSVG hsvg = enuGetLogicClass(strPicture .GetBuffer(0));
    if (hsvg)
    {
	enuSetLogicProperty(hsvg, L"filename", L"library\\logic\\new_logic.svg");
    }
}