If this is just about display then use this:
<Image Source="Assets/Sample.png" >
<Image.Clip>
<RectangleGeometry Rect="10,30,200,300" />
</Image.Clip>
</Image>
Where 10 and 20 are x,y coordinates to start crop and 200 is width and 300 is height.
-- Vishal Kaushik --
Please 'Mark as Answer' if my post answers your question and 'Vote as Helpful' if it helps you.
Happy Coding!!!
No comments:
Post a Comment