Windows Dev Center

InkStrokeContainer.SaveAsync | saveAsync method

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

Syntax


Public Function SaveAsync(
  outputStream As IOutputStream 
) As IAsyncOperationWithProgress(Of UInt32, UInt32)

Parameters

outputStream

Type: IOutputStream

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

Return value

Type: IAsyncOperationWithProgress<UInt32, UInt32>

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

Requirements (device family)

Device family

Universal

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

Windows.UI.Input.Inking
Windows::UI::Input::Inking [C++]

Metadata

Windows.Foundation.UniversalApiContract.winmd

Requirements (operating system)

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

None supported

Namespace

Windows.UI.Input.Inking
Windows::UI::Input::Inking [C++]

Metadata

Windows.winmd

See also

InkStrokeContainer
Responding to pen and stylus input
Ink App sample

 

 

Show:
© 2015 Microsoft