CuteEditor for ASP 6.6 Class Library

Editor.MaintainAspectRatioWhenDraggingImage Property

If you do not want to preserve the aspect ratio when you drag and resize an image, you can set the MaintainAspectRatioWhenDraggingImage property to false. By default, MaintainAspectRatioWhenDraggingImage is set to true to enable the preservation of the aspect ratio.


Example Code

      <%
           Dim editor
           Set editor = New CuteEditor
           editor.ID = "Editor1"
           editor.MaintainAspectRatioWhenDraggingImage = false
           editor.Text = "Hello World"
           editor.Draw()
      %>

See Also

Editor Class | CuteEditor Namespace