With a picture of original size like this : width 2 800 and Height 1376. On the screen the picture is around 470 by 230. If I go to the Image Editor, it shows me the picture size itself but not the area size used by the picture. It is a good thing to have the original picture's dimension but we work with the dimension used in the document. So, could you do something to resize the picture used in the document.
In my samples, you'll see my picture in a document (ie1), what I see when I go in the Image Editor (ie2) and, when I go to the Resize section (ie3). Suggestion, put the original image's dimension on the top of the right corner in the resize section. The width and Height should show the dimension in the document.
Thanks a lot,
private
void
StartExecuteTool(
string
executeToolName)
{
if
(
this
.ImageEditorUI.ImageEditor ==
null
)
{
this
.ForceApplyTemplate();
}
this
.ImageEditorUI.ImageEditor.ScaleFactor =
this
.originalAspect.Width;
if
(!
string
.IsNullOrEmpty(executeToolName))
{
ITool toolToExecute =
this
.Resources[executeToolName]
as
ITool;
if
(toolToExecute !=
null
)
{
this
.Dispatcher.BeginInvoke(
new
Action(() =>
{
if
(
this
.ImageEditorUI.ImageEditor !=
null
)
{
this
.ImageEditorUI.ImageEditor.ExecuteTool(toolToExecute);
}
}));
}
}
}