ScanViwer.xaml 973 B

12345678910111213
  1. <UserControl x:Class="PDF_Office.Views.Scan.ScanViwer"
  2. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4. xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  5. xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  6. xmlns:local="clr-namespace:PDF_Office.Views.Scan" xmlns:scanviewcontrol="clr-namespace:PDF_Office.CustomControl.ScanViewControl" xmlns:scan="clr-namespace:PDF_Office.ViewModels.Scan" d:DataContext="{d:DesignInstance Type=scan:ScanViwerViewModel}"
  7. mc:Ignorable="d" >
  8. <Grid HorizontalAlignment="Stretch" VerticalAlignment="Stretch">
  9. <Grid HorizontalAlignment="Center" VerticalAlignment="Center" Width="800" Height="800">
  10. <scanviewcontrol:CustomPanel BGImage="{Binding BgImage}" OCRTextRectList="{Binding TextRectList}"/>
  11. </Grid>
  12. </Grid>
  13. </UserControl>