Does anyone knows how to convert UWP InkCanvas contents to WPF InkCanvas contents?
I am saving the contents from UWP InkCanvas into a byte array and then saving this byte array into database.
var ms = new MemoryStream();using (IOutputStream outputStream = ms.AsOutputStream())
{
await SignatureInk.InkPresenter.StrokeContainer.SaveAsync(ms.AsOutputStream());
await outputStream.FlushAsync();
}
And I need take this byte array and convert it to InkCanvas in WPF application so I can display the same data in WPF application.
Does anyone know how to do that?
The UWP InkCanvas properties are not the same as WPF InkCanvas properties.
Thanks
Peter