Share via


LineDisplayWindow.TryDisplayStoredBitmapAtCursorAsync Method

Definition

Attempts to asynchronously display a stored bitmap from at LineDisplayStoredBitmap object at the current cursor position.

public:
 virtual IAsyncOperation<bool> ^ TryDisplayStoredBitmapAtCursorAsync(LineDisplayStoredBitmap ^ bitmap) = TryDisplayStoredBitmapAtCursorAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<bool> TryDisplayStoredBitmapAtCursorAsync(LineDisplayStoredBitmap const& bitmap);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<bool> TryDisplayStoredBitmapAtCursorAsync(LineDisplayStoredBitmap bitmap);
function tryDisplayStoredBitmapAtCursorAsync(bitmap)
Public Function TryDisplayStoredBitmapAtCursorAsync (bitmap As LineDisplayStoredBitmap) As IAsyncOperation(Of Boolean)

Parameters

bitmap
LineDisplayStoredBitmap

The bitmap to be displayed.

Returns

Returns True if the bitmap was successfully displayed; otherwise, False.

Attributes

Windows requirements

Device family
Windows 10 Fall Creators Update (introduced in 10.0.16299.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v5.0)

Remarks

If the LineDisplayCapabilities.CanDisplayBitmaps value is False, this method will fail.

Applies to