recognition of ink strokes and shapes
![](https://techprofile.blob.core.windows.net/images/HkvVYXFiAQAAAAAAAAAAAA.png?8DA84F)
Javier R
211
Reputation points
hello:
When I do the active shape and text recognition ToggleSwitch does shape recognition but when I close the App it unnoticed the recognition of shape and text.
another problem is when I activate the toggleswitch before drawing or text doesn't work for me.
togllgeswitch
private async void Recog_Toggled(object sender, RoutedEventArgs e)
{
await recognitionService?.RecognizeStrokes();
var toggleSwitch = sender as ToggleSwitch;
if (toggleSwitch == null)
{
if (toggleSwitch.IsOn == true)
{
recognitionCanvas.Visibility = Visibility.Visible;
}
}
}
Sign in to answer