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'zoomDrawingObject' 이미지 비디오 크기 Zoom in out 크기 조절 api
isWidthBoolean너비를 증/감 시킬지 여부
isHeightBoolean높이를 증/감 시킬지 여부
zoomNumber

증/감할 크기 (단위 px)


Example:

editor.execCommand('zoomDrawingObject', true, false, 10); // 너비 10px 만큼 증가
editor.execCommand('zoomDrawingObject', false, true, 10); // 높이 10px 만큼 증가
editor.execCommand('zoomDrawingObject', true, true, -10); // 너비와 높이 10px 만큼 감소
  • No labels