<Image x:Name="pageImg" Margin="24,-1,37,19" Source="img\verses\67_ (11).png" Stretch="Uniform" />
How to set for example 95
percent of an image be displayed?
<Image x:Name="pageImg" Margin="24,-1,37,19" Source="img\verses\67_ (11).png" Stretch="Uniform" />
How to set for example 95
percent of an image be displayed?
What you are looking for is a cropped bitmap:
<Image>
<Image.Source>
<CroppedBitmap Source="<path to source image>" SourceRect="10,10,10,10"/>
</Image.Source>
</Image>
The parameters in SourceRect determine the starting point and the area that is being viewed.
Source:
https://msdn.microsoft.com/en-Us/library/system.windows.media.imaging.croppedbitmap(v=vs.110).aspx