Completed
Last Updated: 10 Jul 2018 14:54 by Dimitar
ADMIN
Dess | Tech Support Engineer, Principal
Created on: 21 Jun 2018 05:54
Category: UI for WinForms
Type: Bug Report
1
FIX. RadImageEditor - ArgumentOutOfRangeException when you try to resize a large image
Note: other operations that affect the image's size should also handle large images.

No Workaround.

It is possible to create a custom resize dialog as follows:
        public class MyRadImageEditor : RadImageEditor
        {
            protected override RadImageEditorElement CreateImageEditorElement()
            {
                return new MyRadImageEditorElement();
            }
        }

        public class MyRadImageEditorElement : RadImageEditorElement
        {
            public override void ShowResizeDialog()
            {
                this.ShowDialog(typeof(MyResizeDialog));
            }
        }

        public class MyResizeDialog : RadForm
        {
            public MyResizeDialog(RadImageEditorElement imageEditorElement)  
            {
               
            }

            //TODO custom dialog
        }
0 comments