Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

선택된 이미지 또는 비디오의 너비와 높이를 증/감 합니다Zoom in or out the selected image or video.


Parameters:

NameTypeDescription
actionNameString'zoomDrawingObject' 이미지 비디오 크기 Zoom in out 크기 조절 apiimage or video zooming in or out API
isWidthBoolean너비를 증/감 시킬지 여부Whether the width either increases or decreases
isHeightBoolean높이를 증/감 시킬지 여부Whether the height either increases or decreases
zoomNumber

증/감할 크기 (단위 Size to which the image or video is resized(px)


Example:

Code Block
languagejs
themeEmacs
editor.execCommand('zoomDrawingObject', true, false, 10); // 너비increase 10pxwidth 만큼by 증가10px
editor.execCommand('zoomDrawingObject', false, true, 10); // 높이increase 10pxheight 만큼by 증가10px
editor.execCommand('zoomDrawingObject', true, true, -10); // 너비와decrease width 높이and 10pxheight 만큼by 감소10px