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.
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
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
Hi guys,
Can I change the crop rectangle for another shaped, like a circle or oval?
Thanks.
Alex.