New to Telerik UI for WPFStart a free 30-day trial

Provides methods for async reading of the tiles. This class is designed for internal use.

Definition

Namespace:Telerik.Windows.Controls.Map

Assembly:Telerik.Windows.Controls.DataVisualization.dll

Syntax:

C#
public sealed class AsyncStreamOperations

Inheritance: objectAsyncStreamOperations

Methods

Loads stream asynchronously to byte array.

C#
public static void LoadAsync(Stream stream, Action<byte[]> callback)
Parameters:streamStream

Stream.

callbackAction<byte[]>

Callback.

Saves byte array asynchronously to the stream.

C#
public static void SaveAsync(Stream stream, byte[] tile, Action<object> callback, object userState)
Parameters:streamStream

Stream.

tilebyte[]

Byte array.

callbackAction<object>

Callback.

userStateobject

User state.

Saves byte array asynchronously to the stream.

C#
public static void SaveAsync(Stream stream, byte[] tile)
Parameters:streamStream

Stream.

tilebyte[]

Byte array.