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

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

선택된 이미지, 비디오 또는 도형의 크기를 조절합니다.


Parameters:

NameTypeDescription
actionNameString액션 이름
[parentWidth]Number-
[width]Number설정할 이미지/비디오/도형의 너비 (단위 px)
[height]Number설정할 이미지/비디오/도형의 높이 (단위 px)
[left]Number

이미지/비디오/도형의 left 좌표 (absolute position인 경우)

[top]Number이미지/비디오/도형의 right 좌표 (absolute position인 경우)


Example:

editor.execCommand('resizeDrawingObject', null, 200, 100, null, null); // 너비와 높이를 200, 100으로 설정
editor.execCommand('resizeDrawingObject', null, null, null, 200, 100); // left와 top을 200, 100으로 설정
  • No labels