public async Task ReadInkAsync(InkStrokeContainer strokeContainer) { strokeContainer.Clear(); using (Stream stream = await _folder.OpenStreamForReadAsync(_name + Serializer.InkFileExtension)) { await strokeContainer.LoadAsync(stream.AsInputStream()); } }
public void ClearStrokes() { _strokeContainer.Clear(); ClearStrokesEvent?.Invoke(this, EventArgs.Empty); }