|
@@ -912,7 +912,7 @@ namespace ComPDFKit.Controls.PDFControl
|
|
rotateLeftMenu.Click += (o, p) =>
|
|
rotateLeftMenu.Click += (o, p) =>
|
|
{
|
|
{
|
|
Rect oldRect = DataConversionForWPF.CRectConversionForRect(imageArea.GetFrame());
|
|
Rect oldRect = DataConversionForWPF.CRectConversionForRect(imageArea.GetFrame());
|
|
- imageArea.Rotate(-90);
|
|
|
|
|
|
+ imageArea.Rotate(90);
|
|
pdfContentEditControl.RefreshThumb();
|
|
pdfContentEditControl.RefreshThumb();
|
|
UpdateEditArea(oldRect,imageArea);
|
|
UpdateEditArea(oldRect,imageArea);
|
|
};
|
|
};
|
|
@@ -923,7 +923,7 @@ namespace ComPDFKit.Controls.PDFControl
|
|
rotateRightMenu.Click += (o, p) =>
|
|
rotateRightMenu.Click += (o, p) =>
|
|
{
|
|
{
|
|
Rect oldRect = DataConversionForWPF.CRectConversionForRect(imageArea.GetFrame());
|
|
Rect oldRect = DataConversionForWPF.CRectConversionForRect(imageArea.GetFrame());
|
|
- imageArea.Rotate(90);
|
|
|
|
|
|
+ imageArea.Rotate(-90);
|
|
pdfContentEditControl.RefreshThumb();
|
|
pdfContentEditControl.RefreshThumb();
|
|
UpdateEditArea(oldRect, imageArea);
|
|
UpdateEditArea(oldRect, imageArea);
|
|
};
|
|
};
|
|
@@ -1062,7 +1062,7 @@ namespace ComPDFKit.Controls.PDFControl
|
|
rotateLeftMenu.Click += (o, p) =>
|
|
rotateLeftMenu.Click += (o, p) =>
|
|
{
|
|
{
|
|
Rect oldRect = DataConversionForWPF.CRectConversionForRect(pathArea.GetFrame());
|
|
Rect oldRect = DataConversionForWPF.CRectConversionForRect(pathArea.GetFrame());
|
|
- pathArea.Rotate(-90);
|
|
|
|
|
|
+ pathArea.Rotate(90);
|
|
UpdateEditArea(oldRect, pathArea);
|
|
UpdateEditArea(oldRect, pathArea);
|
|
};
|
|
};
|
|
menu.Items.Add(rotateLeftMenu);
|
|
menu.Items.Add(rotateLeftMenu);
|
|
@@ -1072,7 +1072,7 @@ namespace ComPDFKit.Controls.PDFControl
|
|
rotateRightMenu.Click += (o, p) =>
|
|
rotateRightMenu.Click += (o, p) =>
|
|
{
|
|
{
|
|
Rect oldRect = DataConversionForWPF.CRectConversionForRect(pathArea.GetFrame());
|
|
Rect oldRect = DataConversionForWPF.CRectConversionForRect(pathArea.GetFrame());
|
|
- pathArea.Rotate(90);
|
|
|
|
|
|
+ pathArea.Rotate(-90);
|
|
UpdateEditArea(oldRect, pathArea);
|
|
UpdateEditArea(oldRect, pathArea);
|
|
};
|
|
};
|
|
menu.Items.Add(rotateRightMenu);
|
|
menu.Items.Add(rotateRightMenu);
|