Click here to Skip to main content
15,891,865 members
Please Sign up or sign in to vote.
1.40/5 (3 votes)
See more:
I want to represent the layout of components on a circuit board by drawing multiple rectangles on a WPF canvas (if canvas is the best container). Sizes and geometries of components are maintained in a class already developed. Can anyone suggest an approach to drawing shapes in the code behind, or point to a similar project? Thanks.
Posted
Comments
manujaggi 17-Apr-13 2:16am    
I need to create a wpf diagram designer which consist multiple layers design (user can add layers according to need and can switch among layers and can also show/ hide layers) and each layer can have different diagram but they are party of single design. Now my question is that how we can create multiple layers like we have different layers in photoshop where layers are used to work on individual parts of an image while not affecting other parts. And the same thing I have to create in wpf diagram designer if it's possible and also looking for any alternative solution.... ..plz revert

1 solution

Read this[^] for the basics on drawing with WPF. Also read this[^] article.
 
Share this answer
 

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900