ImageStream class

This topic has not yet been rated - Rate this topic

An implementation of IRandomAccessStreamWithContent type used in the Imaging namespace.

Syntax


var imageStream = GetThumbNailOperation.GetResults();

Attributes

MarshalingBehaviorAttribute(Agile)
VersionAttribute(NTDDI_WIN8)

Members

The ImageStream class has these types of members:

Methods

The ImageStream class has these methods. With C#, Visual Basic, and C++, it also inherits methods from the Object class.

MethodDescription
CloneStream Returns the file stream for the ImageStream.
Close [C++, JavaScript]Closes the ImageStream.
Dispose [C#, VB]Performs tasks associated with freeing, releasing, or resetting unmanaged resources.
FlushAsync Asynchronously commits the current frame data and flushes all of the data on the image stream.
GetInputStreamAt Returns an input stream at a specified location in a stream.
GetOutputStreamAt Returns an output stream at a specified location in a stream.
ReadAsync Reads data asynchronously from a sequential stream.
Seek Sets the position of the stream to the specified value.
WriteAsync Writes data asynchronously in a sequential stream.

 

Properties

The ImageStream class has these properties.

PropertyAccess typeDescription

CanRead

Read-onlyIndicates if you can read the stream.

CanWrite

Read-onlyIndicates if you can write to the stream.

ContentType

Read-onlyReturns the data format of the stream.

Position

Read-onlyGets the byte offset of the stream.

Size

Read/writeGets or sets the size of the random access stream.

 

Requirements

Minimum supported client

Windows 8 [Windows Store apps only]

Minimum supported server

Windows Server 2012 [Windows Store apps only]

Namespace

Windows.Graphics.Imaging
Windows::Graphics::Imaging [C++]

Metadata

Windows.winmd

 

 

Build date: 12/4/2012

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.