Page tree
Skip to end of metadata
Go to start of metadata

입력된 핸들의 Window를 이동 및 사이즈조정 합니다.


Syntax
public void MovePortal( 
	int left,
	int top,
	int width,
	int height
)



Parameters

left

Type: int

대상의 이동 left 값

top

Type: int

대상의 위치이동 top 값

width

Type: int

대상의 사이즈변경 너비

height

Type: int

대상의 사이즈변경 높이

Return Value

Type:  bool


Example
Sub MoveWindow()
    Dim mxmodule As Object
    Set mxmodule = Application.COMAddIns.Item("iMATRIX.ExcelModule").Object

    result = mxmodule.xapi.MovePortal(100, 100, 200, 300)

    '오류 확인
    If result = False Then
        MsgBox "fail"
    Else
        MsgBox "success"
    End If
    
End Sub



  • No labels