Technology Questions

Go Back   Technology Questions > Hardware Questions > Mobile Computers > Tablet PC > Tablet PC Software > Tablet PC Developers

Tablet PC Developers Show off your work while discussing with others how to create ink enabled applications.

Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old 11-28-2008, 09:17 PM
Christian Stapfer
Newsgroup Contributor
 
Posts: n/a
Microsoft.Ink.Stroke.Id equivalent for System.Windows.Ink.Stroke?

Hello everybody,

I am porting a shared whiteboard from Microsoft.Ink.InkOverlay
to System.Windows.Controls.InkCanvas

Microsoft.Ink.Stroke had a property Id (unique identifier) that
I used to exactly identify the strokes that are to be deleted or
resized on remote copies of the InkCanvas. But
System.Windows.Ink .Stoke objects do NOT seem have such a
unique identifier assigned to them anymore...

Of course, I could always resend the entire Ink (serialized to ISF format)
to remote copies of an InkCanvas over the network: but that would take
far too much network capacity for my taste.

Thus I am now considering to re-implement the unique identifier
for System.Windows.Ink.Stroke objects by use of an attached property.

Does anyone more experienced than myself agree that this is indeed
what would be a reasonable approch to the problem of keeping distributed
copies of the same InkCanvas synchronized (as regards Ink it contains)?
Or is there some other solution that might seem preferable?
(In many cases, using the coordinates of the first point of a stroke could
serve as a unique identifier of that stroke, but I hesitate to use that kind
of hack just for the sake of "efficiency".)

Thanks in advance for any replies,
Christian

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

 
Old 11-28-2008, 09:17 PM
Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Stroke with no packets Ravi Tablet PC Developers 3 07-08-2007 11:32 PM
Erasing stroke segments Josef Meile Tablet PC Developers 3 06-28-2007 08:40 AM
How to assign a character to a key stroke Pete L Windows XP 5 01-24-2007 03:30 PM
Keyboard stroke ctrl+space bw Windows XP 0 01-04-2007 02:08 AM
"shift-R click" with a pen stroke (ie without a keyboard) =?Utf-8?B?Q3JhaWc=?= Windows XP Tablet PC Newsgroup 4 05-26-2004 10:16 PM


New To Technology Questions? Do You Need Help with Your Computer or Device? Do You Need Help with this site?

All times are GMT -8. The time now is 11:43 PM.


2003 - 2009 All Rights Reserved. Technology Questions

Search Engine Friendly URLs by vBSEO 3.3.0