wpf下手写识别
需microsoft.inkpublic partial class Window1 : Window{public Window1(){InitializeComponent();}private void btnRec_Click(object sender, RoutedEventArgs e){InkAnalyzer theInkAnalyzer = new InkAnalyzer();if (inkCanvas.Strokes.Count > 0){AnalysisHintNode hint = theInkAnalyzer.CreateAnalysisHint();hint.Location.MakeInfinite();hint.Factoid = "ChineseSimpleCommon";hint.CoerceToFactoid = true;hint.Guide.Columns = 1;hint.Guide.Rows = 1;hint.Guide.Midline = 0;hint.WordMode = true;hint.TopInkBr