LineDisplayWindow.ReadCharacterAtCursorAsync LineDisplayWindow.ReadCharacterAtCursorAsync LineDisplayWindow.ReadCharacterAtCursorAsync LineDisplayWindow.ReadCharacterAtCursorAsync LineDisplayWindow.ReadCharacterAtCursorAsync Method

Definition

Attempts to asynchronously read the currently displayed character at the current cursor position.

public : IAsyncOperation<unsigned int> ReadCharacterAtCursorAsync()
IAsyncOperation<uint32_t> ReadCharacterAtCursorAsync() const;
public IAsyncOperation<uint> ReadCharacterAtCursorAsync()
Public Function ReadCharacterAtCursorAsync() As IAsyncOperation(Of uint)
Windows.Devices.PointOfService.LineDisplayWindow.readCharacterAtCursorAsync().done( /* Your success and error handlers */ );

Returns

Returns the code for the character at the current cursor position. Returns 0 if the method fails.

Additional features and requirements

Device family
Windows 10 Fall Creators Update (introduced v10.0.16299.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v5)

Remarks

This method requires LineDisplayCapabilities.CanReadCharacterAtCursor to be True to be succesfully executed.