개정판 f4ec4218
iSSUE #10000 텍스트 검색에서 검색된 부분 표시되도록 수정
Change-Id: I2e0480818470f463d0ad5d57a114ad46a2e9511f
KCOM/Controls/SearchPanel.xaml.cs | ||
---|---|---|
385 | 385 |
var widthScale = width / Convert.ToDouble(extractor.GetPageRect_Width(item.PageNo - 1)); |
386 | 386 |
var heightScale = height / Convert.ToDouble(extractor.GetPageRect_Height(item.PageNo - 1)); |
387 | 387 |
|
388 |
var searchFocus = Common.ViewerDataModel.Instance.SystemMain.dzMainMenu.SearchFocusBorder; |
|
389 |
searchFocus.Visibility = Visibility; |
|
390 |
|
|
391 |
Canvas.SetLeft(searchFocus, item.searchResult.Left * widthScale); |
|
392 |
Canvas.SetTop(searchFocus, item.searchResult.Top * heightScale); |
|
393 |
searchFocus.Width = item.searchResult.Width * widthScale; |
|
394 |
searchFocus.Height = item.searchResult.Height * widthScale; |
|
395 |
|
|
388 | 396 |
Common.ViewerDataModel.Instance.SystemMain.dzMainMenu.zoomAndPanControl.ZoomTo(new Rect |
389 | 397 |
{ |
390 | 398 |
X =item.searchResult.Left * widthScale, |
내보내기 Unified diff