|
|
|
|
1457
|
imgCanvas.Width = bitImg.Width;
|
1457
|
imgCanvas.Width = bitImg.Width;
|
1458
|
imgCanvas.Height = bitImg.Height;
|
1458
|
imgCanvas.Height = bitImg.Height;
|
1459
|
scroMain.ScrollToVerticalOffset(0);
|
1459
|
scroMain.ScrollToVerticalOffset(0);
|
1460
|
- APP.PageDrawList[APP.pageData.currpage - 1].ImageSizes = new ScaleTransform
|
|
|
|
|
1460
|
+ imgCanvas.Margin = new Thickness(APP.PageDrawList[APP.pageData.currpage - 1].ImageLocation.X, APP.PageDrawList[APP.pageData.currpage - 1].ImageLocation.Y, 0, 0);
|
|
|
1461
|
+ APP.PageDrawList[APP.pageData.currpage - 1].ImageSizes = new ScaleTransform
|
1461
|
{
|
1462
|
{
|
1462
|
CenterX = imgCanvas.Width,
|
1463
|
CenterX = imgCanvas.Width,
|
1463
|
CenterY = imgCanvas.Height
|
1464
|
CenterY = imgCanvas.Height
|