Telerik Forums
UI for Silverlight Forum
1 answer
60 views

Good morning, sorry by my inglish.

I'm trying to resize a image a 40px from XAML's codebehind , something like that:

private void ButtonBase_OnClick(object sender, RoutedEventArgs e)
        {
            var imageEditor = new RadImageEditor();
            var openDialog = new OpenFileDialog
            {
                Multiselect = false,
                Filter = IMAGE_EXTENSION
            };
            if(openDialog.ShowDialog() == true)
            {
                using (FileStream fileStream = openDialog.File.OpenRead())
                {
                    imageEditor.Image = new RadBitmap(fileStream);
                    imageEditor.Image.Resize(40, 40);
                    imgPreview.Source = bitmap;
                }
            }
        }

imgPreview is a Image control.

This code doesn't work, please, can you help me with it?

Thanks.

Martin Ivanov
Telerik team
 answered on 26 Sep 2017
13 answers
97 views
Hi,

How do I set the background of the Tools (Crop, Rounded Corners, Hue, Tint, ... ) of the RadImageEditor?
I don't want to set the background of the RadImageEditor, only of the Tools of the RadImageEditor. For instance: I want a semi-transparent blue background on all RadImageEditor tools.

Thank you for your help.
Evgenia
Telerik team
 answered on 30 Mar 2017
17 answers
605 views
Hi guys,

I love the ImageEditor. Keep up the good work.

I was wondering how I can go about overriding the open and save commands. For example, I would like to hide the open file command at some instances and write my own save method so I can save the image for example to DB by passing it through my own encoder.

Thanks
SD
Todor
Telerik team
 answered on 28 Oct 2015
1 answer
22 views
I am creating a website for online poster designing.. I have explored telerik UI for silverlight, and I realized that image editor provides text option also, but font styles are not given. How can I integrate font styles menu also in the same image editor? and the next question is, that if I want to store some designed templates in my database and want to give an option to the user, to choose any template from the database, how can I import an image from the database to the canvas of imageEditor?
Todor
Telerik team
 answered on 23 Sep 2015
3 answers
83 views

Hi,

On this page (http://www.telerik.com/help/silverlight/gridview-localization2.html) you provide information on the resources of the RadGridView control.

Can you provide the same information for the RadImageEditor, in order to perform localization on it?

Best Regards,

Peter

Boby
Telerik team
 answered on 04 Aug 2015
1 answer
167 views

I am needing to set the Vertical and Horizontal Scrollbar position each time I load and display a new image with the RadImageEditor control.  It looks like by default, that the scrollbars do not reset themselves to the top for the Vertical and to the left for the Horizontal bars when a new image is loaded and displayed if the image has been zoomed in and the scrollbars are not at these positions.  

I see that there is a Property on the control named ScrollViewerName, that is a string of the name of the ScollViewer, but I am not sure how to gain access to the ScrollViewer of the control to change the values.

Any help would be greatly appreciated.

 

Lance

Petya
Telerik team
 answered on 01 Jul 2015
2 answers
64 views

Hi guys,

Can I change the crop rectangle for another shaped, like a circle or oval?

 Thanks.

 

Alex.

Alexander Jiménez
Top achievements
Rank 1
 answered on 29 Jun 2015
1 answer
36 views
This tool behaves very different then other tools that popup a control. The others open and close on multiple clicks\commands. This one opens up many on top of each other, and can lead to overlapping text if you change it in multiple DrawTextTool's that were opened. Only way to close it appears to be to execute another command. And only way to clear text is to use Undo (unless the text is from the latest DrawTextTool opened).

Anyways, it seems some greater control over what is going on here would be nice. The documentation is also non-existent as far as I can tell. I see the tool in a screenshot located in the ImageEditor doc, but no actual mention of it or how to properly use it.
Tanya
Telerik team
 answered on 13 Feb 2015
1 answer
36 views
By default, Open command of ImageEditor uses PNG files filer.
How do I change it so that it uses All Files by default?
Aylin
Telerik team
 answered on 11 Dec 2014
3 answers
38 views
I have vanilla ImageEditor inside a Child Window. No other customization.
When i open a picture, and click on the Crop button, the image view changes and does not occupy full window anymore.
Attache are screenshots before and after clicking the Crop button.
Todor
Telerik team
 answered on 11 Dec 2014
Top users last month
horváth
Top achievements
Rank 2
Iron
Iron
Steve
Top achievements
Rank 2
Iron
Erkki
Top achievements
Rank 1
Iron
Mark
Top achievements
Rank 2
Iron
Iron
Veteran
Jakub
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?