Click here to Skip to main content
13,048,805 members (86,002 online)
Rate this:
Please Sign up or sign in to vote.

First of all - I need my project to be in WPF .. and it's my first one.
(I mostly develop web systems)

I have a form with a grid in it, that split the window to 2 rows / 1 column.
On the second row I added a canvan with a background image that display several items and there's a barcode below each item.

When a user (from group "a") search a barcode on the image, it suppose to be marked, so as a start, other group of users ("manager" group) need to set the image details and this is the part I'm having problem with

what I need to do is that:

The user that opens the window, suppose to be able to create a rectangle that marks a barcode of an item.
He also suppose to be able to change the width/height of the rectangle.
After he finishs, by clicking a button I want to save the relative position of the rectangle on the window - it must be a relative position, since the user (from group "a") can change later the window height/width and the rectangle needs to stay at the same place on the image...

Can anyone give me a start point or any kind of help?
Posted 7-Apr-13 3:08am

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

It sound very much like something I have done before:
WPF-Drawing Canvas Control[^]
danait25 17-Apr-13 8:37am
well, it's definitely a start :)
I'll try that.
by the way, do you know how can I make the point blink (I'm talking about the "point with text") ?

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

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web01 | 2.8.170713.1 | Last Updated 7 Apr 2013
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100