recognition of ink strokes and shapes

Javier R 211 Reputation points
2020-06-03T16:32:50.283+00:00

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.

9044-reconogizeshapes.txt

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;  
                      
                }  
                 
  
            }  
  
        }  
  
Universal Windows Platform (UWP)
{count} votes