Monday, September 17, 2012

How to draw image in specific position (x,y) on an existing image in windows phone 7 application

How to draw image in specific position (x,y) on an existing image in windows phone 7 application

in my application i have a large image and i want to draw another small image from image folder in specific position on the large image. how can i do that can any one help me please thanks;

Answers & Comments...

Answer: 1

You can put the images in a canvas and position them

<Canvas>     <Image Source="BigImage.jpg"/>     <Image Source="SmallImage.jpg" Canvas.Left="100" Canvas.Top="50" /> </Canvas> 

Depending on your requirements/setup you could also nest them in a Grid and use the Margin properties of the images.

by : Ernohttp://stackoverflow.com/users/563088




No comments:

Post a Comment

Send us your comment related to the topic mentioned on the blog