InkStrokeContainer.SaveAsync InkStrokeContainer.SaveAsync InkStrokeContainer.SaveAsync InkStrokeContainer.SaveAsync InkStrokeContainer.SaveAsync Method

Definition

Overloads

SaveAsync(IOutputStream) SaveAsync(IOutputStream) SaveAsync(IOutputStream) SaveAsync(IOutputStream) SaveAsync(IOutputStream)

Asynchronously saves all InkStroke objects in the InkStroke collection that is managed by the InkStrokeContainer to the specified stream.

SaveAsync(IOutputStream, InkPersistenceFormat) SaveAsync(IOutputStream, InkPersistenceFormat) SaveAsync(IOutputStream, InkPersistenceFormat) SaveAsync(IOutputStream, InkPersistenceFormat) SaveAsync(IOutputStream, InkPersistenceFormat)

Asynchronously saves all InkStroke objects in the InkStroke collection that is managed by the InkStrokeContainer to the specified stream and in the specified format.

SaveAsync(IOutputStream) SaveAsync(IOutputStream) SaveAsync(IOutputStream) SaveAsync(IOutputStream) SaveAsync(IOutputStream)

Asynchronously saves all InkStroke objects in the InkStroke collection that is managed by the InkStrokeContainer to the specified stream.

public : IAsyncOperationWithProgress<unsigned int, unsigned int> SaveAsync(IOutputStream outputStream)
IAsyncOperationWithProgress<uint32_t, uint32_t> SaveAsync(IOutputStream outputStream) const;
public IAsyncOperationWithProgress<uint, uint> SaveAsync(IOutputStream outputStream)
Public Function SaveAsync(outputStream As IOutputStream) As IAsyncOperationWithProgress(Of uintuint)
Windows.UI.Input.Inking.InkStrokeContainer.saveAsync(outputStream).done( /* Your success and error handlers */ );

Parameters

outputStream
IOutputStream IOutputStream IOutputStream

The target stream. An IRandomAccessStream (requires IOutputStream ) object can be specified instead.

Returns

The status of the asynchronous operation as the number of bytes sent. For more information, see WriteAsync method.

See also

SaveAsync(IOutputStream, InkPersistenceFormat) SaveAsync(IOutputStream, InkPersistenceFormat) SaveAsync(IOutputStream, InkPersistenceFormat) SaveAsync(IOutputStream, InkPersistenceFormat) SaveAsync(IOutputStream, InkPersistenceFormat)

Asynchronously saves all InkStroke objects in the InkStroke collection that is managed by the InkStrokeContainer to the specified stream and in the specified format.

public : IAsyncOperationWithProgress<unsigned int, unsigned int> SaveAsync(IOutputStream outputStream, InkPersistenceFormat inkPersistenceFormat)
IAsyncOperationWithProgress<uint32_t, uint32_t> SaveAsync(IOutputStream outputStream, InkPersistenceFormat inkPersistenceFormat) const;
public IAsyncOperationWithProgress<uint, uint> SaveAsync(IOutputStream outputStream, InkPersistenceFormat inkPersistenceFormat)
Public Function SaveAsync(outputStream As IOutputStream, inkPersistenceFormat As InkPersistenceFormat) As IAsyncOperationWithProgress(Of uintuint)
Windows.UI.Input.Inking.InkStrokeContainer.saveAsync(outputStream, inkPersistenceFormat).done( /* Your success and error handlers */ );

Parameters

outputStream
IOutputStream IOutputStream IOutputStream

The target stream. An IRandomAccessStream (requires IOutputStream ) object can be specified instead.

inkPersistenceFormat
InkPersistenceFormat InkPersistenceFormat InkPersistenceFormat

The format in which to save the ink input.

Returns

The status of the asynchronous operation as the number of bytes sent. For more information, see WriteAsync method.

Additional features and requirements

Device family
Windows 10 Creators Update (introduced v10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v4)
See also