개정판 5f2def8b
이미지 로드 수정
Change-Id: I24d04e1e72f354b555cfa377096a91146dbf8834
KCOM/Views/MainMenu.xaml.cs | ||
---|---|---|
542 | 542 |
defaultBitmapImage.CreateOptions = BitmapCreateOptions.IgnoreImageCache; |
543 | 543 |
defaultBitmapImage.CacheOption = BitmapCacheOption.OnLoad; |
544 | 544 |
defaultBitmapImage.UriSource = new Uri(uri); |
545 |
defaultBitmapImage.DecodePixelWidth = Convert.ToInt32(pageWidth * zoomAndPanControl.ContentScale);
|
|
546 |
defaultBitmapImage.DecodePixelHeight = Convert.ToInt32(pageHeight * zoomAndPanControl.ContentScale);
|
|
545 |
defaultBitmapImage.DecodePixelWidth = Convert.ToInt32(pageWidth ); |
|
546 |
defaultBitmapImage.DecodePixelHeight = Convert.ToInt32(pageHeight);// * zoomAndPanControl.ContentScale
|
|
547 | 547 |
defaultBitmapImage.EndInit(); |
548 | 548 |
|
549 | 549 |
ViewerDataModel.Instance.ImageViewPath = null; |
내보내기 Unified diff