Click here to Skip to main content
14,325,129 members
Rate this:
Please Sign up or sign in to vote.
how to save an image after making changes in it with Ink presenter?
my XAML COde:
<UserControl x:Class="silver2.MainPage"

    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 

    xmlns: x="http://schemas.microsoft.com/winfx/2006/xaml"

    xmlns: d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 

    mc:Ignorable="d" d:DesignWidth="640" d:DesignHeight="480">
  <Grid x:Name="LayoutRoot">
      
           <Button Height="23" Margin="0,22,5,0" Name="btnNext" HorizontalAlignment="Right" Width="47" Content="Next"></Button>
       <Button Height="23" Margin="0,22,15,20" Name="btnPrev" HorizontalAlignment="Right"  Width="47" Content="Prev"></Button>
      <!--  <Button Height="23" HorizontalAlignment="Left" Margin="55,22,0,0" Name="ZoomOut" VerticalAlignment="Top" Width="33" Content="Prev" ></Button>-->
         <!--   <Button Height="23" Margin="0,22,211,0" Name="zoomIn" VerticalAlignment="Top" HorizontalAlignment="Right" Width="27" ></Button>-->
                  <Button Grid.Column="1" Height="23" HorizontalAlignment="Right" Name="btnSave" VerticalAlignment="Top" Width="75"  Content="Save"></Button>
    <ScrollViewer Width="800" Height="500" HorizontalScrollBarVisibility="Auto">
      <Canvas Name="canva"  Height="500" Width="800" Background="Beige" >
                      <InkPresenter Name="inkP" Height="500" Width="800" >
                <Image Source="img/1.jpg" Name="imageBox"/>
            </InkPresenter>
                    </Canvas>
         </ScrollViewer>
    </Grid>
</UserControl>
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100