|
-
Apr 26th, 2009, 12:08 AM
#1
Thread Starter
Addicted Member
where is inkcanvas in vs 2008
Hi
where is the inkcanvas in vs 2008?
-
Apr 29th, 2009, 09:04 AM
#2
Lively Member
Re: where is inkcanvas in vs 2008
it doesnt look like it is in the toolbox. But you should be able to add it in the XAML code. just type in
Code:
<InkCanvas Height="40" Width="40"></InCanvas>
in the XAML where you want the inkcanvas and when you run the app, you should see it.
-
Apr 29th, 2009, 01:09 PM
#3
Thread Starter
Addicted Member
Re: where is inkcanvas in vs 2008
one last question
if i draw shapes on it like triangles and squares
can i get the number of triangles and squares ? i mean identify the drawn shapes
thanks in advance.
-
Apr 29th, 2009, 01:20 PM
#4
Lively Member
Re: where is inkcanvas in vs 2008
yes. the InkAnalyzer can read the inkcanvas strokes. It can read regular handwritting and it also can recognize shapes that are drawn. Here is the MSDN for the inkanalyzer.
http://msdn.microsoft.com/en-us/libr...kanalyzer.aspx
-
Apr 29th, 2009, 01:53 PM
#5
Thread Starter
Addicted Member
Re: where is inkcanvas in vs 2008
cannot find microsoft.ink.analysis dll
cannot make inkanalizer instance ? im using .net 3.5
any alternative?
-
Apr 29th, 2009, 02:01 PM
#6
Lively Member
Re: where is inkcanvas in vs 2008
sorry, i forgot about that part. For some reason the dll isnt included in .net3.5 you have to download the tablet pc sdk.
http://www.microsoft.com/downloads/d...displaylang=en
i think that is it. then you need to reference IACore.dll and IAWinFX.dll.
and thats really the only way i know of to read an inkcanvas
-
Apr 29th, 2009, 02:41 PM
#7
Thread Starter
Addicted Member
Re: where is inkcanvas in vs 2008
after installation cannot find IACore.dll or IAWinFX.dll
and no inkanalizer !
-
Apr 29th, 2009, 02:46 PM
#8
Lively Member
Re: where is inkcanvas in vs 2008
the dlls should be somewhere like c:\program files\Reference Assemblies\Microsoft\Tablet PC\v1.7\IACore.dll
if they arent there then that might not have been the correct download or it might not have installed correctly.
-
Apr 29th, 2009, 09:41 PM
#9
Thread Starter
Addicted Member
Re: where is inkcanvas in vs 2008
right got it
also there is dll called microsoft.ink.analysis and this is the library contains th inkanalyzer class
i will try it and tell you
thanks very much for your help
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|