C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Communities   Interview   Jobs   Projects   Offshore Development    
Silverlight Tutorials | Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Revenue Sharing |


Prizes & Awards
My Profile



Active Members
TodayLast 7 Days more...

New Feature: Community Sites: Create your own .NET community website and start earning from Google AdSense ! It's Free !




I want to draw on the image in WPF


Posted Date: 20 Jun 2008      Total Responses: 3

Posted By: Farhomar       Member Level: Bronze     Points: 1



Like we draw on the bitmap or image object using graphics object in windows form in GDI.

Now how to draw on the image (rectangle or something else) in WPF?
If someone provides me simple sample code that would be a great help.





Responses

Author: ravindar    20 Jun 2008Member Level: BronzeRating:     Points: 2

you can use inkcanvas label then you can draw


Author: ravindar    20 Jun 2008Member Level: BronzeRating:     Points: 2

http://blogs.msdn.com/bsinghal/archive/2007/12/11/wpf-using-the-inkcanvas-control.aspx


Author: Roger Simon    08 Jul 2008Member Level: BronzeRating:     Points: 3

You can you the Image tag in xaml as show below to draw images in WPF
<Image>
<Image.Source>
<BitmapImage UriSource="type path of image here" />
</Image.Source>
</Image>



Post Reply
You must Sign In to post a response.
Next : instead of using for loop any other method
Previous : cropping the images on grid in WPF application
Return to Discussion Forum
Post New Message
Category: WPF

Related Messages



dotNet Slackers   BizTalk Adaptors    Web Design


Contact Us    Privacy Policy    Terms Of Use