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  
Old 07-11-2007, 07:50 AM
Stefan Wilhelm
Newsgroup Contributor
 
Posts: n/a
How to do "CreateStroke()" in System.Windows.Ink namespace?

Hello,

I have following base. Hardware pen for writing on paper (Logitech io2). The
pen gives me coordinates as a point array.
Untill now I cound initialize a Microsoft.Ink.InkCollector and then do
inkCollector.CreateStroke(pointArray); and in the end
inkCollector.Ink.Strokes.ToString(); to get translated handwritten data to
digital text. Therefore I installed: MS XP Tablet PC Edion 2005 Reco Pack, XP
Tablet PC Edition Dev Kit 1.7 --- beside: the result often was better then
results from vision objects' myscript builder (handwriting recognation
software).

For future I want to use the new System.Windows.Ink namespace.
Initialize the System.Windows.Ink.InkAnalyzer is no problem, but how to add
strokes manually?

And the second question:
When using inkAnalyzer.AnalysisModes =
System.Windows.Ink.AnalysisModes.PersonalizationEn abled - how to set a
personalized profile? Is this possible in WinXP SP2 or do I need to use Vista?

I expect through a conversion a better recognation result - I'm I right?

Thank you for useful tips!

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

 
Old 07-11-2007, 07:50 AM
  #2  
Old 07-11-2007, 09:30 PM
Stefan Wick[MS]
Newsgroup Contributor
 
Posts: n/a
RE: How to do "CreateStroke()" in System.Windows.Ink namespace?

Hi Stefan,

The Stroke class in the System.Windows.Ink namespace has a public
constructor, so you can create a new stroke programmatically like this:

Point pt1 = new Point(100d, 100d);
Point pt2 = new Point(110d, 120d);
Stroke stroke = new Stroke(new StylusPointCollection(new Point[] { pt1, pt2
}));

To answer your second question: Personalization is a feature of Windows
Vista. It is not available on Windows XP.

Thanks,
Stefan Wick

Microsoft - Windows Experience


"Stefan Wilhelm" wrote:

> Hello,
>
> I have following base. Hardware pen for writing on paper (Logitech io2). The
> pen gives me coordinates as a point array.
> Untill now I cound initialize a Microsoft.Ink.InkCollector and then do
> inkCollector.CreateStroke(pointArray); and in the end
> inkCollector.Ink.Strokes.ToString(); to get translated handwritten data to
> digital text. Therefore I installed: MS XP Tablet PC Edion 2005 Reco Pack, XP
> Tablet PC Edition Dev Kit 1.7 --- beside: the result often was better then
> results from vision objects' myscript builder (handwriting recognation
> software).
>
> For future I want to use the new System.Windows.Ink namespace.
> Initialize the System.Windows.Ink.InkAnalyzer is no problem, but how to add
> strokes manually?
>
> And the second question:
> When using inkAnalyzer.AnalysisModes =
> System.Windows.Ink.AnalysisModes.PersonalizationEn abled - how to set a
> personalized profile? Is this possible in WinXP SP2 or do I need to use Vista?
>
> I expect through a conversion a better recognation result - I'm I right?
>
> Thank you for useful tips!
>
> -Stefan

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

  #3  
Old 07-11-2007, 11:40 PM
Stefan Wilhelm
Newsgroup Contributor
 
Posts: n/a
RE: How to do "CreateStroke()" in System.Windows.Ink namespace?

Hi Stefan,

I'll think I'm missing a reference to a dll because of in my
System.Windows.Ink namespace there is no Stroke class.
I have referenced to Microsoft.ink.dll (6.0.0.0 [v2.0.50727]) and
IAWinFX.dll (3.0.0.0 [v2.0.50727]). Do I need any other dll oder other
verison?

Extension for second question: I have read personalized profiles can be
saved and ported to other systems on vista. Maybe it is possible to load this
profile dynamically on XP SP2?

Regards,
Stefan


"Stefan Wick[MS]" wrote:

> Hi Stefan,
>
> The Stroke class in the System.Windows.Ink namespace has a public
> constructor, so you can create a new stroke programmatically like this:
>
> Point pt1 = new Point(100d, 100d);
> Point pt2 = new Point(110d, 120d);
> Stroke stroke = new Stroke(new StylusPointCollection(new Point[] { pt1, pt2
> }));
>
> To answer your second question: Personalization is a feature of Windows
> Vista. It is not available on Windows XP.
>
> Thanks,
> Stefan Wick
>
> Microsoft - Windows Experience
>
>
> "Stefan Wilhelm" wrote:
>
> > Hello,
> >
> > I have following base. Hardware pen for writing on paper (Logitech io2). The
> > pen gives me coordinates as a point array.
> > Untill now I cound initialize a Microsoft.Ink.InkCollector and then do
> > inkCollector.CreateStroke(pointArray); and in the end
> > inkCollector.Ink.Strokes.ToString(); to get translated handwritten data to
> > digital text. Therefore I installed: MS XP Tablet PC Edion 2005 Reco Pack, XP
> > Tablet PC Edition Dev Kit 1.7 --- beside: the result often was better then
> > results from vision objects' myscript builder (handwriting recognation
> > software).
> >
> > For future I want to use the new System.Windows.Ink namespace.
> > Initialize the System.Windows.Ink.InkAnalyzer is no problem, but how to add
> > strokes manually?
> >
> > And the second question:
> > When using inkAnalyzer.AnalysisModes =
> > System.Windows.Ink.AnalysisModes.PersonalizationEn abled - how to set a
> > personalized profile? Is this possible in WinXP SP2 or do I need to use Vista?
> >
> > I expect through a conversion a better recognation result - I'm I right?
> >
> > Thank you for useful tips!
> >
> > -Stefan

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

  #4  
Old 07-12-2007, 03:40 AM
Stefan Wilhelm
Newsgroup Contributor
 
Posts: n/a
RE: How to do "CreateStroke()" in System.Windows.Ink namespace?

Got it to work by adding reference to PresentationCore.dll
But another question:
Is it possible to set some properties like RecognizerContext.Factoid =
Microsoft.Ink.Factoid.Number to improve recognation result?

Is there anywhere a good tutorial?

And the other question from my post before:
I have read personalized profiles can be saved and ported to other systems
on vista. Maybe it is possible to load this profile dynamically on XP SP2?


"Stefan Wilhelm" wrote:

> Hi Stefan,
>
> I'll think I'm missing a reference to a dll because of in my
> System.Windows.Ink namespace there is no Stroke class.
> I have referenced to Microsoft.ink.dll (6.0.0.0 [v2.0.50727]) and
> IAWinFX.dll (3.0.0.0 [v2.0.50727]). Do I need any other dll oder other
> verison?
>
> Extension for second question: I have read personalized profiles can be
> saved and ported to other systems on vista. Maybe it is possible to load this
> profile dynamically on XP SP2?
>
> Regards,
> Stefan
>
>
> "Stefan Wick[MS]" wrote:
>
> > Hi Stefan,
> >
> > The Stroke class in the System.Windows.Ink namespace has a public
> > constructor, so you can create a new stroke programmatically like this:
> >
> > Point pt1 = new Point(100d, 100d);
> > Point pt2 = new Point(110d, 120d);
> > Stroke stroke = new Stroke(new StylusPointCollection(new Point[] { pt1, pt2
> > }));
> >
> > To answer your second question: Personalization is a feature of Windows
> > Vista. It is not available on Windows XP.
> >
> > Thanks,
> > Stefan Wick
> >
> > Microsoft - Windows Experience
> >
> >
> > "Stefan Wilhelm" wrote:
> >
> > > Hello,
> > >
> > > I have following base. Hardware pen for writing on paper (Logitech io2). The
> > > pen gives me coordinates as a point array.
> > > Untill now I cound initialize a Microsoft.Ink.InkCollector and then do
> > > inkCollector.CreateStroke(pointArray); and in the end
> > > inkCollector.Ink.Strokes.ToString(); to get translated handwritten data to
> > > digital text. Therefore I installed: MS XP Tablet PC Edion 2005 Reco Pack, XP
> > > Tablet PC Edition Dev Kit 1.7 --- beside: the result often was better then
> > > results from vision objects' myscript builder (handwriting recognation
> > > software).
> > >
> > > For future I want to use the new System.Windows.Ink namespace.
> > > Initialize the System.Windows.Ink.InkAnalyzer is no problem, but how to add
> > > strokes manually?
> > >
> > > And the second question:
> > > When using inkAnalyzer.AnalysisModes =
> > > System.Windows.Ink.AnalysisModes.PersonalizationEn abled - how to set a
> > > personalized profile? Is this possible in WinXP SP2 or do I need to use Vista?
> > >
> > > I expect through a conversion a better recognation result - I'm I right?
> > >
> > > Thank you for useful tips!
> > >
> > > -Stefan

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

  #5  
Old 07-12-2007, 06:11 AM
Stefan Wick[MS]
Newsgroup Contributor
 
Posts: n/a
RE: How to do "CreateStroke()" in System.Windows.Ink namespace?

>>Got it to work by adding reference to PresentationCore.dll
This seems to indicate that you are not building a WPF app. Why did you
decide to use the System.Windows.Ink namespace in the first place? It is
designed to be used by WPF apps.

If you are building a Winforms app you should stick with the Microsoft.Ink
namespace. There is also an InkAnalyzer class in Microsoft.Ink namespace
(just add a reference to Microsoft.Ink.Analysis.dll):
http://msdn2.microsoft.com/en-us/lib...kanalyzer.aspx

>>> Is it possible to set some properties like RecognizerContext.Factoid

Yes, you can create an Analysis hint off the InkAnalyzer and then set the
Factoid on that:
http://msdn2.microsoft.com/en-us/library/ms568974.aspx

>>Maybe it is possible to load this profile dynamically on XP SP2?

No, that is not possible.

Thanks,
Stefan Wick

Microsoft - Windows Experience


"Stefan Wilhelm" wrote:

> Got it to work by adding reference to PresentationCore.dll
> But another question:
> Is it possible to set some properties like RecognizerContext.Factoid =
> Microsoft.Ink.Factoid.Number to improve recognation result?
>
> Is there anywhere a good tutorial?
>
> And the other question from my post before:
> I have read personalized profiles can be saved and ported to other systems
> on vista. Maybe it is possible to load this profile dynamically on XP SP2?
>
>
> "Stefan Wilhelm" wrote:
>
> > Hi Stefan,
> >
> > I'll think I'm missing a reference to a dll because of in my
> > System.Windows.Ink namespace there is no Stroke class.
> > I have referenced to Microsoft.ink.dll (6.0.0.0 [v2.0.50727]) and
> > IAWinFX.dll (3.0.0.0 [v2.0.50727]). Do I need any other dll oder other
> > verison?
> >
> > Extension for second question: I have read personalized profiles can be
> > saved and ported to other systems on vista. Maybe it is possible to load this
> > profile dynamically on XP SP2?
> >
> > Regards,
> > Stefan
> >
> >
> > "Stefan Wick[MS]" wrote:
> >
> > > Hi Stefan,
> > >
> > > The Stroke class in the System.Windows.Ink namespace has a public
> > > constructor, so you can create a new stroke programmatically like this:
> > >
> > > Point pt1 = new Point(100d, 100d);
> > > Point pt2 = new Point(110d, 120d);
> > > Stroke stroke = new Stroke(new StylusPointCollection(new Point[] { pt1, pt2
> > > }));
> > >
> > > To answer your second question: Personalization is a feature of Windows
> > > Vista. It is not available on Windows XP.
> > >
> > > Thanks,
> > > Stefan Wick
> > >
> > > Microsoft - Windows Experience
> > >
> > >
> > > "Stefan Wilhelm" wrote:
> > >
> > > > Hello,
> > > >
> > > > I have following base. Hardware pen for writing on paper (Logitech io2). The
> > > > pen gives me coordinates as a point array.
> > > > Untill now I cound initialize a Microsoft.Ink.InkCollector and then do
> > > > inkCollector.CreateStroke(pointArray); and in the end
> > > > inkCollector.Ink.Strokes.ToString(); to get translated handwritten data to
> > > > digital text. Therefore I installed: MS XP Tablet PC Edion 2005 Reco Pack, XP
> > > > Tablet PC Edition Dev Kit 1.7 --- beside: the result often was better then
> > > > results from vision objects' myscript builder (handwriting recognation
> > > > software).
> > > >
> > > > For future I want to use the new System.Windows.Ink namespace.
> > > > Initialize the System.Windows.Ink.InkAnalyzer is no problem, but how to add
> > > > strokes manually?
> > > >
> > > > And the second question:
> > > > When using inkAnalyzer.AnalysisModes =
> > > > System.Windows.Ink.AnalysisModes.PersonalizationEn abled - how to set a
> > > > personalized profile? Is this possible in WinXP SP2 or do I need to use Vista?
> > > >
> > > > I expect through a conversion a better recognation result - I'm I right?
> > > >
> > > > Thank you for useful tips!
> > > >
> > > > -Stefan

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

  #6  
Old 07-12-2007, 11:21 PM
Stefan Wilhelm
Newsgroup Contributor
 
Posts: n/a
RE: How to do "CreateStroke()" in System.Windows.Ink namespace?

Hi Stefan,
thank you for your replays!

I'm building (testing) Windows-Form application. I've decided to use WPF
engine because of two reasons:
The first is the version of Ink Analysis. When adding a reference, I have
following options:
1. v1.0.3750 - Microsoft Tablet PC Ink Analysis Managed Library
2. v2.0.50727 - Microsoft Tablet PC Ink WinFx Library
In my .Net component list in no "Microsoft.Ink.Analysis.dll" with v2.x.xxxx
and this is the answer for my second reason. When adding a reference to "Ink
Analysis Managed Library v1" there is no construtor without parameters for
InkAnalyzer and there is no constructor for the stroke object, so therefor I
had to usw WPF namespace. Maybe I'm missing the correct dll? I've installed
on XP SP2 (in this order) VS2005, Windows SDK, .Net 3.0 Framework, WF.

To my second problem, AnalysisHintNode:
Found it, works perfect when setting Factoid to "(!IS_DATE)" or
"(!IS_DIGITS)" but I've not understood how it really works. While I'm was
using InkCollector, I've used the enums from Microsoft.Ink.Factoid - but
doing this now will not work, e.g. setting to Microsoft.Ink.Factoid.Number
will not return ever a number. On the hintNode I've set CoerceToFactoid =
true, so there should be only numbers returned.
I've read, setting Factoid with regex, but I dont' think, "(!IS_DATE)" is a
real regular expression like "[0-9]*". There to get info about the syntax for
Factoid?

Thank you very much!

-Stefan


"Stefan Wick[MS]" wrote:

> >>Got it to work by adding reference to PresentationCore.dll

> This seems to indicate that you are not building a WPF app. Why did you
> decide to use the System.Windows.Ink namespace in the first place? It is
> designed to be used by WPF apps.
>
> If you are building a Winforms app you should stick with the Microsoft.Ink
> namespace. There is also an InkAnalyzer class in Microsoft.Ink namespace
> (just add a reference to Microsoft.Ink.Analysis.dll):
> http://msdn2.microsoft.com/en-us/lib...kanalyzer.aspx
>
> >>> Is it possible to set some properties like RecognizerContext.Factoid

> Yes, you can create an Analysis hint off the InkAnalyzer and then set the
> Factoid on that:
> http://msdn2.microsoft.com/en-us/library/ms568974.aspx
>
> >>Maybe it is possible to load this profile dynamically on XP SP2?

> No, that is not possible.
>
> Thanks,
> Stefan Wick
>
> Microsoft - Windows Experience
>
>
> "Stefan Wilhelm" wrote:
>
> > Got it to work by adding reference to PresentationCore.dll
> > But another question:
> > Is it possible to set some properties like RecognizerContext.Factoid =
> > Microsoft.Ink.Factoid.Number to improve recognation result?
> >
> > Is there anywhere a good tutorial?
> >
> > And the other question from my post before:
> > I have read personalized profiles can be saved and ported to other systems
> > on vista. Maybe it is possible to load this profile dynamically on XP SP2?
> >
> >
> > "Stefan Wilhelm" wrote:
> >
> > > Hi Stefan,
> > >
> > > I'll think I'm missing a reference to a dll because of in my
> > > System.Windows.Ink namespace there is no Stroke class.
> > > I have referenced to Microsoft.ink.dll (6.0.0.0 [v2.0.50727]) and
> > > IAWinFX.dll (3.0.0.0 [v2.0.50727]). Do I need any other dll oder other
> > > verison?
> > >
> > > Extension for second question: I have read personalized profiles can be
> > > saved and ported to other systems on vista. Maybe it is possible to load this
> > > profile dynamically on XP SP2?
> > >
> > > Regards,
> > > Stefan
> > >
> > >
> > > "Stefan Wick[MS]" wrote:
> > >
> > > > Hi Stefan,
> > > >
> > > > The Stroke class in the System.Windows.Ink namespace has a public
> > > > constructor, so you can create a new stroke programmatically like this:
> > > >
> > > > Point pt1 = new Point(100d, 100d);
> > > > Point pt2 = new Point(110d, 120d);
> > > > Stroke stroke = new Stroke(new StylusPointCollection(new Point[] { pt1, pt2
> > > > }));
> > > >
> > > > To answer your second question: Personalization is a feature of Windows
> > > > Vista. It is not available on Windows XP.
> > > >
> > > > Thanks,
> > > > Stefan Wick
> > > >
> > > > Microsoft - Windows Experience
> > > >
> > > >
> > > > "Stefan Wilhelm" wrote:
> > > >
> > > > > Hello,
> > > > >
> > > > > I have following base. Hardware pen for writing on paper (Logitech io2). The
> > > > > pen gives me coordinates as a point array.
> > > > > Untill now I cound initialize a Microsoft.Ink.InkCollector and then do
> > > > > inkCollector.CreateStroke(pointArray); and in the end
> > > > > inkCollector.Ink.Strokes.ToString(); to get translated handwritten data to
> > > > > digital text. Therefore I installed: MS XP Tablet PC Edion 2005 Reco Pack, XP
> > > > > Tablet PC Edition Dev Kit 1.7 --- beside: the result often was better then
> > > > > results from vision objects' myscript builder (handwriting recognation
> > > > > software).
> > > > >
> > > > > For future I want to use the new System.Windows.Ink namespace.
> > > > > Initialize the System.Windows.Ink.InkAnalyzer is no problem, but how to add
> > > > > strokes manually?
> > > > >
> > > > > And the second question:
> > > > > When using inkAnalyzer.AnalysisModes =
> > > > > System.Windows.Ink.AnalysisModes.PersonalizationEn abled - how to set a
> > > > > personalized profile? Is this possible in WinXP SP2 or do I need to use Vista?
> > > > >
> > > > > I expect through a conversion a better recognation result - I'm I right?
> > > > >
> > > > > Thank you for useful tips!
> > > > >
> > > > > -Stefan

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

  #7  
Old 07-13-2007, 04:00 AM
Stefan Wick[MS]
Newsgroup Contributor
 
Posts: n/a
RE: How to do "CreateStroke()" in System.Windows.Ink namespace?

Hi Stefan,

>>The first is the version of Ink Analysis.

There is only one version of InkAnalysis out there today. Both the WPF and
the Winforms assemblies are using the same underlying implementation (which
is in iacore.dll). The version numbers you are referring to below are the CLR
versions that the wrapper assemblies are bound to. It merely means that you
can use the Winforms version with CLR 1.0 and above, but the WPF version only
with CLR 2.0 and above - which makes sense since WPF requires CLR 2.0.

>>there is no construtor without parameters for InkAnalyzer

In the Winforms Ink object model, the InkAnalyzer needs a reference to the
Ink object that will contain all your ink. You can just construct a new Ink
object and pass that into the first parameter of InkAnalyzer's constructor.
For the second paramteter, just pass in a reference to your Form (or Control).

>> and there is no constructor for the stroke object

To construct a Stroke object, call the CreateStroke() method on your Ink
object

>>setting to Microsoft.Ink.Factoid.Number will not return ever a number

Did you also set the Location property on the hint node? If you want to
apply the Factoid to the entire ink space you can just call
AnalysisHintNode.Location.makeInfinite().

Thanks,
Stefan Wick

Microsoft - Windows Experience


"Stefan Wilhelm" wrote:

> Hi Stefan,
> thank you for your replays!
>
> I'm building (testing) Windows-Form application. I've decided to use WPF
> engine because of two reasons:
> The first is the version of Ink Analysis. When adding a reference, I have
> following options:
> 1. v1.0.3750 - Microsoft Tablet PC Ink Analysis Managed Library
> 2. v2.0.50727 - Microsoft Tablet PC Ink WinFx Library
> In my .Net component list in no "Microsoft.Ink.Analysis.dll" with v2.x.xxxx
> and this is the answer for my second reason. When adding a reference to "Ink
> Analysis Managed Library v1" there is no construtor without parameters for
> InkAnalyzer and there is no constructor for the stroke object, so therefor I
> had to usw WPF namespace. Maybe I'm missing the correct dll? I've installed
> on XP SP2 (in this order) VS2005, Windows SDK, .Net 3.0 Framework, WF.
>
> To my second problem, AnalysisHintNode:
> Found it, works perfect when setting Factoid to "(!IS_DATE)" or
> "(!IS_DIGITS)" but I've not understood how it really works. While I'm was
> using InkCollector, I've used the enums from Microsoft.Ink.Factoid - but
> doing this now will not work, e.g. setting to Microsoft.Ink.Factoid.Number
> will not return ever a number. On the hintNode I've set CoerceToFactoid =
> true, so there should be only numbers returned.
> I've read, setting Factoid with regex, but I dont' think, "(!IS_DATE)" is a
> real regular expression like "[0-9]*". There to get info about the syntax for
> Factoid?
>
> Thank you very much!
>
> -Stefan


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

  #8  
Old 07-13-2007, 10:50 PM
Josh Einstein
Newsgroup Contributor
 
Posts: n/a
Re: How to do "CreateStroke()" in System.Windows.Ink namespace?

There are many many ways you can influence the recognizer and factoids
(inputscopes) are just one. If you grab Ink Analyzer Explorer at
http://www.einsteintech.net you can play with nearly all the features of the
ink analyzer and see how they influence recognition.

For example, you could use analysis hint regions to tell the recognizer at
what physical locations to expect numbers, or dates, etc.

Josh

"Stefan Wilhelm" <StefanWilhelm@discussions.microsoft.com> wrote in message
news:98AF9374-DE6E-425E-9118-C1CBF428FF92@microsoft.com...
> To my second problem, AnalysisHintNode:
> Found it, works perfect when setting Factoid to "(!IS_DATE)" or
> "(!IS_DIGITS)" but I've not understood how it really works. While I'm was
> using InkCollector, I've used the enums from Microsoft.Ink.Factoid - but
> doing this now will not work, e.g. setting to Microsoft.Ink.Factoid.Number
> will not return ever a number. On the hintNode I've set CoerceToFactoid =
> true, so there should be only numbers returned.
> I've read, setting Factoid with regex, but I dont' think, "(!IS_DATE)" is
> a
> real regular expression like "[0-9]*". There to get info about the syntax
> for
> Factoid?
>
> Thank you very much!


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

  #9  
Old 07-15-2007, 11:00 PM
Stefan Wilhelm
Newsgroup Contributor
 
Posts: n/a
RE: How to do "CreateStroke()" in System.Windows.Ink namespace?

Thank you Stefan,
understood the most now!


"Stefan Wick[MS]" wrote:

> Hi Stefan,
>
> >>The first is the version of Ink Analysis.

> There is only one version of InkAnalysis out there today. Both the WPF and
> the Winforms assemblies are using the same underlying implementation (which
> is in iacore.dll). The version numbers you are referring to below are the CLR
> versions that the wrapper assemblies are bound to. It merely means that you
> can use the Winforms version with CLR 1.0 and above, but the WPF version only
> with CLR 2.0 and above - which makes sense since WPF requires CLR 2.0.
>
> >>there is no construtor without parameters for InkAnalyzer

> In the Winforms Ink object model, the InkAnalyzer needs a reference to the
> Ink object that will contain all your ink. You can just construct a new Ink
> object and pass that into the first parameter of InkAnalyzer's constructor.
> For the second paramteter, just pass in a reference to your Form (or Control).
>
> >> and there is no constructor for the stroke object

> To construct a Stroke object, call the CreateStroke() method on your Ink
> object
>
> >>setting to Microsoft.Ink.Factoid.Number will not return ever a number

> Did you also set the Location property on the hint node? If you want to
> apply the Factoid to the entire ink space you can just call
> AnalysisHintNode.Location.makeInfinite().
>
> Thanks,
> Stefan Wick
>
> Microsoft - Windows Experience
>
>
> "Stefan Wilhelm" wrote:
>
> > Hi Stefan,
> > thank you for your replays!
> >
> > I'm building (testing) Windows-Form application. I've decided to use WPF
> > engine because of two reasons:
> > The first is the version of Ink Analysis. When adding a reference, I have
> > following options:
> > 1. v1.0.3750 - Microsoft Tablet PC Ink Analysis Managed Library
> > 2. v2.0.50727 - Microsoft Tablet PC Ink WinFx Library
> > In my .Net component list in no "Microsoft.Ink.Analysis.dll" with v2.x.xxxx
> > and this is the answer for my second reason. When adding a reference to "Ink
> > Analysis Managed Library v1" there is no construtor without parameters for
> > InkAnalyzer and there is no constructor for the stroke object, so therefor I
> > had to usw WPF namespace. Maybe I'm missing the correct dll? I've installed
> > on XP SP2 (in this order) VS2005, Windows SDK, .Net 3.0 Framework, WF.
> >
> > To my second problem, AnalysisHintNode:
> > Found it, works perfect when setting Factoid to "(!IS_DATE)" or
> > "(!IS_DIGITS)" but I've not understood how it really works. While I'm was
> > using InkCollector, I've used the enums from Microsoft.Ink.Factoid - but
> > doing this now will not work, e.g. setting to Microsoft.Ink.Factoid.Number
> > will not return ever a number. On the hintNode I've set CoerceToFactoid =
> > true, so there should be only numbers returned.
> > I've read, setting Factoid with regex, but I dont' think, "(!IS_DATE)" is a
> > real regular expression like "[0-9]*". There to get info about the syntax for
> > Factoid?
> >
> > Thank you very much!
> >
> > -Stefan

>

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

  #10  
Old 07-15-2007, 11:10 PM
Stefan Wilhelm
Newsgroup Contributor
 
Posts: n/a
Re: How to do "CreateStroke()" in System.Windows.Ink namespace?

Hi Josh,

found your website before but can't download your Ink Analyzer Explorer. I
get following german (because of my system) errormessage: "Der Remoteserver
hat einen Fehler zurückgegeben: (407) Proxyauthentifizierung erforderlich"
which means: (407) proxy authentication required.
I don't know if the problem comes from your webserver or from the firewall
I'm behind. Is there a way to do a file download (ftp, http)?

-Stefan


"Josh Einstein" wrote:

> There are many many ways you can influence the recognizer and factoids
> (inputscopes) are just one. If you grab Ink Analyzer Explorer at
> http://www.einsteintech.net you can play with nearly all the features of the
> ink analyzer and see how they influence recognition.
>
> For example, you could use analysis hint regions to tell the recognizer at
> what physical locations to expect numbers, or dates, etc.
>
> Josh
>
> "Stefan Wilhelm" <StefanWilhelm@discussions.microsoft.com> wrote in message
> news:98AF9374-DE6E-425E-9118-C1CBF428FF92@microsoft.com...
> > To my second problem, AnalysisHintNode:
> > Found it, works perfect when setting Factoid to "(!IS_DATE)" or
> > "(!IS_DIGITS)" but I've not understood how it really works. While I'm was
> > using InkCollector, I've used the enums from Microsoft.Ink.Factoid - but
> > doing this now will not work, e.g. setting to Microsoft.Ink.Factoid.Number
> > will not return ever a number. On the hintNode I've set CoerceToFactoid =
> > true, so there should be only numbers returned.
> > I've read, setting Factoid with regex, but I dont' think, "(!IS_DATE)" is
> > a
> > real regular expression like "[0-9]*". There to get info about the syntax
> > for
> > Factoid?
> >
> > Thank you very much!

>

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

  #11  
Old 07-19-2007, 07:20 PM
Josh Einstein
Newsgroup Contributor
 
Posts: n/a
Re: How to do "CreateStroke()" in System.Windows.Ink namespace?

It actually needs to be downloaded via Internet Explorer and your proxy
settings need to be set in Internet Explorer.

Let me know if you still have problems.

"Stefan Wilhelm" <StefanWilhelm@discussions.microsoft.com> wrote in message
news:9CD6EC5F-A3AA-46FA-8BD4-B2C52C5AF480@microsoft.com...
> Hi Josh,
>
> found your website before but can't download your Ink Analyzer Explorer. I
> get following german (because of my system) errormessage: "Der
> Remoteserver
> hat einen Fehler zurückgegeben: (407) Proxyauthentifizierung erforderlich"
> which means: (407) proxy authentication required.
> I don't know if the problem comes from your webserver or from the firewall
> I'm behind. Is there a way to do a file download (ftp, http)?
>
> -Stefan
>
>
> "Josh Einstein" wrote:
>
>> There are many many ways you can influence the recognizer and factoids
>> (inputscopes) are just one. If you grab Ink Analyzer Explorer at
>> http://www.einsteintech.net you can play with nearly all the features of
>> the
>> ink analyzer and see how they influence recognition.
>>
>> For example, you could use analysis hint regions to tell the recognizer
>> at
>> what physical locations to expect numbers, or dates, etc.
>>
>> Josh
>>
>> "Stefan Wilhelm" <StefanWilhelm@discussions.microsoft.com> wrote in
>> message
>> news:98AF9374-DE6E-425E-9118-C1CBF428FF92@microsoft.com...
>> > To my second problem, AnalysisHintNode:
>> > Found it, works perfect when setting Factoid to "(!IS_DATE)" or
>> > "(!IS_DIGITS)" but I've not understood how it really works. While I'm
>> > was
>> > using InkCollector, I've used the enums from Microsoft.Ink.Factoid -
>> > but
>> > doing this now will not work, e.g. setting to
>> > Microsoft.Ink.Factoid.Number
>> > will not return ever a number. On the hintNode I've set CoerceToFactoid
>> > =
>> > true, so there should be only numbers returned.
>> > I've read, setting Factoid with regex, but I dont' think, "(!IS_DATE)"
>> > is
>> > a
>> > real regular expression like "[0-9]*". There to get info about the
>> > syntax
>> > for
>> > Factoid?
>> >
>> > Thank you very much!

>>


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

  #12  
Old 07-19-2007, 10:30 PM
Stefan Wilhelm
Newsgroup Contributor
 
Posts: n/a
Re: How to do "CreateStroke()" in System.Windows.Ink namespace?

Hi Josh,

I'm using IE7 and the proxysettings are OK - otherwise I cound not navigate
to http://www.einsteintech.net
But I think neverless that the problem occurs on my network because of I
have some other problems e.g. connecting MS ShareView is not possible or
losing my session by some internet email services.
Since I already announced this problem however there is still no solotion
given to me.
How does the deployment of Ink-Analyzer-Explorer work? Do I need any open
ports or is this a normal http download? I have no knowledge about deployment.

Regards,
Stefan

"Josh Einstein" wrote:

> It actually needs to be downloaded via Internet Explorer and your proxy
> settings need to be set in Internet Explorer.
>
> Let me know if you still have problems.
>
> "Stefan Wilhelm" <StefanWilhelm@discussions.microsoft.com> wrote in message
> news:9CD6EC5F-A3AA-46FA-8BD4-B2C52C5AF480@microsoft.com...
> > Hi Josh,
> >
> > found your website before but can't download your Ink Analyzer Explorer. I
> > get following german (because of my system) errormessage: "Der
> > Remoteserver
> > hat einen Fehler zurückgegeben: (407) Proxyauthentifizierung erforderlich"
> > which means: (407) proxy authentication required.
> > I don't know if the problem comes from your webserver or from the firewall
> > I'm behind. Is there a way to do a file download (ftp, http)?
> >
> > -Stefan
> >
> >
> > "Josh Einstein" wrote:
> >
> >> There are many many ways you can influence the recognizer and factoids
> >> (inputscopes) are just one. If you grab Ink Analyzer Explorer at
> >> http://www.einsteintech.net you can play with nearly all the features of
> >> the
> >> ink analyzer and see how they influence recognition.
> >>
> >> For example, you could use analysis hint regions to tell the recognizer
> >> at
> >> what physical locations to expect numbers, or dates, etc.
> >>
> >> Josh
> >>
> >> "Stefan Wilhelm" <StefanWilhelm@discussions.microsoft.com> wrote in
> >> message
> >> news:98AF9374-DE6E-425E-9118-C1CBF428FF92@microsoft.com...
> >> > To my second problem, AnalysisHintNode:
> >> > Found it, works perfect when setting Factoid to "(!IS_DATE)" or
> >> > "(!IS_DIGITS)" but I've not understood how it really works. While I'm
> >> > was
> >> > using InkCollector, I've used the enums from Microsoft.Ink.Factoid -
> >> > but
> >> > doing this now will not work, e.g. setting to
> >> > Microsoft.Ink.Factoid.Number
> >> > will not return ever a number. On the hintNode I've set CoerceToFactoid
> >> > =
> >> > true, so there should be only numbers returned.
> >> > I've read, setting Factoid with regex, but I dont' think, "(!IS_DATE)"
> >> > is
> >> > a
> >> > real regular expression like "[0-9]*". There to get info about the
> >> > syntax
> >> > for
> >> > Factoid?
> >> >
> >> > Thank you very much!
> >>

>
>

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

  #13  
Old 07-20-2007, 12:21 PM
Josh Einstein
Newsgroup Contributor
 
Posts: n/a
Re: How to do "CreateStroke()" in System.Windows.Ink namespace?

Here, try this. It's a self-extracting zip file and it will install
InkAnalyzer Explorer locally. If when you write in the application nothing
appears to be happening, you probably need the .NET 2.0 hotfix for Tablet PC
which is included in the zip.

http://staging.einsteintech.net/file...xplorerSfx.exe

Josh

"Stefan Wilhelm" <StefanWilhelm@discussions.microsoft.com> wrote in message
news:E5FDBF0E-6C80-4A56-B454-F455E9D6F6B8@microsoft.com...
> Hi Josh,
>
> I'm using IE7 and the proxysettings are OK - otherwise I cound not
> navigate
> to http://www.einsteintech.net
> But I think neverless that the problem occurs on my network because of I
> have some other problems e.g. connecting MS ShareView is not possible or
> losing my session by some internet email services.
> Since I already announced this problem however there is still no solotion
> given to me.
> How does the deployment of Ink-Analyzer-Explorer work? Do I need any open
> ports or is this a normal http download? I have no knowledge about
> deployment.
>
> Regards,
> Stefan
>
> "Josh Einstein" wrote:
>
>> It actually needs to be downloaded via Internet Explorer and your proxy
>> settings need to be set in Internet Explorer.
>>
>> Let me know if you still have problems.
>>
>> "Stefan Wilhelm" <StefanWilhelm@discussions.microsoft.com> wrote in
>> message
>> news:9CD6EC5F-A3AA-46FA-8BD4-B2C52C5AF480@microsoft.com...
>> > Hi Josh,
>> >
>> > found your website before but can't download your Ink Analyzer
>> > Explorer. I
>> > get following german (because of my system) errormessage: "Der
>> > Remoteserver
>> > hat einen Fehler zurückgegeben: (407) Proxyauthentifizierung
>> > erforderlich"
>> > which means: (407) proxy authentication required.
>> > I don't know if the problem comes from your webserver or from the
>> > firewall
>> > I'm behind. Is there a way to do a file download (ftp, http)?
>> >
>> > -Stefan
>> >
>> >
>> > "Josh Einstein" wrote:
>> >
>> >> There are many many ways you can influence the recognizer and factoids
>> >> (inputscopes) are just one. If you grab Ink Analyzer Explorer at
>> >> http://www.einsteintech.net you can play with nearly all the features
>> >> of
>> >> the
>> >> ink analyzer and see how they influence recognition.
>> >>
>> >> For example, you could use analysis hint regions to tell the
>> >> recognizer
>> >> at
>> >> what physical locations to expect numbers, or dates, etc.
>> >>
>> >> Josh
>> >>
>> >> "Stefan Wilhelm" <StefanWilhelm@discussions.microsoft.com> wrote in
>> >> message
>> >> news:98AF9374-DE6E-425E-9118-C1CBF428FF92@microsoft.com...
>> >> > To my second problem, AnalysisHintNode:
>> >> > Found it, works perfect when setting Factoid to "(!IS_DATE)" or
>> >> > "(!IS_DIGITS)" but I've not understood how it really works. While
>> >> > I'm
>> >> > was
>> >> > using InkCollector, I've used the enums from Microsoft.Ink.Factoid -
>> >> > but
>> >> > doing this now will not work, e.g. setting to
>> >> > Microsoft.Ink.Factoid.Number
>> >> > will not return ever a number. On the hintNode I've set
>> >> > CoerceToFactoid
>> >> > =
>> >> > true, so there should be only numbers returned.
>> >> > I've read, setting Factoid with regex, but I dont' think,
>> >> > "(!IS_DATE)"
>> >> > is
>> >> > a
>> >> > real regular expression like "[0-9]*". There to get info about the
>> >> > syntax
>> >> > for
>> >> > Factoid?
>> >> >
>> >> > Thank you very much!
>> >>

>>
>>


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

  #14  
Old 07-22-2007, 11:01 PM
Stefan Wilhelm
Newsgroup Contributor
 
Posts: n/a
Re: How to do "CreateStroke()" in System.Windows.Ink namespace?

Works perfect, thank you very much!!!

"Josh Einstein" wrote:

> Here, try this. It's a self-extracting zip file and it will install
> InkAnalyzer Explorer locally. If when you write in the application nothing
> appears to be happening, you probably need the .NET 2.0 hotfix for Tablet PC
> which is included in the zip.
>
> http://staging.einsteintech.net/file...xplorerSfx.exe
>
> Josh
>
> "Stefan Wilhelm" <StefanWilhelm@discussions.microsoft.com> wrote in message
> news:E5FDBF0E-6C80-4A56-B454-F455E9D6F6B8@microsoft.com...
> > Hi Josh,
> >
> > I'm using IE7 and the proxysettings are OK - otherwise I cound not
> > navigate
> > to http://www.einsteintech.net
> > But I think neverless that the problem occurs on my network because of I
> > have some other problems e.g. connecting MS ShareView is not possible or
> > losing my session by some internet email services.
> > Since I already announced this problem however there is still no solotion
> > given to me.
> > How does the deployment of Ink-Analyzer-Explorer work? Do I need any open
> > ports or is this a normal http download? I have no knowledge about
> > deployment.
> >
> > Regards,
> > Stefan
> >
> > "Josh Einstein" wrote:
> >
> >> It actually needs to be downloaded via Internet Explorer and your proxy
> >> settings need to be set in Internet Explorer.
> >>
> >> Let me know if you still have problems.
> >>
> >> "Stefan Wilhelm" <StefanWilhelm@discussions.microsoft.com> wrote in
> >> message
> >> news:9CD6EC5F-A3AA-46FA-8BD4-B2C52C5AF480@microsoft.com...
> >> > Hi Josh,
> >> >
> >> > found your website before but can't download your Ink Analyzer
> >> > Explorer. I
> >> > get following german (because of my system) errormessage: "Der
> >> > Remoteserver
> >> > hat einen Fehler zurückgegeben: (407) Proxyauthentifizierung
> >> > erforderlich"
> >> > which means: (407) proxy authentication required.
> >> > I don't know if the problem comes from your webserver or from the
> >> > firewall
> >> > I'm behind. Is there a way to do a file download (ftp, http)?
> >> >
> >> > -Stefan
> >> >
> >> >
> >> > "Josh Einstein" wrote:
> >> >
> >> >> There are many many ways you can influence the recognizer and factoids
> >> >> (inputscopes) are just one. If you grab Ink Analyzer Explorer at
> >> >> http://www.einsteintech.net you can play with nearly all the features
> >> >> of
> >> >> the
> >> >> ink analyzer and see how they influence recognition.
> >> >>
> >> >> For example, you could use analysis hint regions to tell the
> >> >> recognizer
> >> >> at
> >> >> what physical locations to expect numbers, or dates, etc.
> >> >>
> >> >> Josh
> >> >>
> >> >> "Stefan Wilhelm" <StefanWilhelm@discussions.microsoft.com> wrote in
> >> >> message
> >> >> news:98AF9374-DE6E-425E-9118-C1CBF428FF92@microsoft.com...
> >> >> > To my second problem, AnalysisHintNode:
> >> >> > Found it, works perfect when setting Factoid to "(!IS_DATE)" or
> >> >> > "(!IS_DIGITS)" but I've not understood how it really works. While
> >> >> > I'm
> >> >> > was
> >> >> > using InkCollector, I've used the enums from Microsoft.Ink.Factoid -
> >> >> > but
> >> >> > doing this now will not work, e.g. setting to
> >> >> > Microsoft.Ink.Factoid.Number
> >> >> > will not return ever a number. On the hintNode I've set
> >> >> > CoerceToFactoid
> >> >> > =
> >> >> > true, so there should be only numbers returned.
> >> >> > I've read, setting Factoid with regex, but I dont' think,
> >> >> > "(!IS_DATE)"
> >> >> > is
> >> >> > a
> >> >> > real regular expression like "[0-9]*". There to get info about the
> >> >> > syntax
> >> >> > for
> >> >> > Factoid?
> >> >> >
> >> >> > Thank you very much!
> >> >>
> >>
> >>

>

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

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
"data is a Windows system folder" ? Where is the reference ? How to delete ? Frank Callone Windows XP 1 06-09-2007 12:20 AM
Which is the difference of "last good configuration" and "most recent system restore"? Juan I. Cahis Windows XP 4 04-26-2007 03:00 PM
Internet Explorer 7 for Windows Vista not prompting me to "Open/Run" or "Save" files Brandon Taylor Windows Vista 2 04-01-2007 02:00 PM
Process "System" utilizes a lot of CPU (Windows XP Professional) ArturNOW Windows XP 0 03-17-2007 03:15 AM
WM5 Sync with Vista "Windows Calender", "Contacts", and "Mail" Tony Windows Vista 1 02-16-2007 03:31 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 09:22 PM.


2003 - 2010 All Rights Reserved. Technology Questions

Search Engine Friendly URLs by vBSEO 3.3.0