private void Button_Click(object sender, RoutedEventArgs e) { ImageRenderer.RenderToPNGFile(SignatureCapture, "signature.png"); }