LineDisplayWindow.TryDisplayTextAsync LineDisplayWindow.TryDisplayTextAsync LineDisplayWindow.TryDisplayTextAsync LineDisplayWindow.TryDisplayTextAsync LineDisplayWindow.TryDisplayTextAsync Method

Definition

Overloads

TryDisplayTextAsync(String) TryDisplayTextAsync(String) TryDisplayTextAsync(String) TryDisplayTextAsync(String) TryDisplayTextAsync(String)

Try to display the specified text in the line display window.

TryDisplayTextAsync(String, LineDisplayTextAttribute) TryDisplayTextAsync(String, LineDisplayTextAttribute) TryDisplayTextAsync(String, LineDisplayTextAttribute) TryDisplayTextAsync(String, LineDisplayTextAttribute) TryDisplayTextAsync(String, LineDisplayTextAttribute)

Try to display the specified text in the line display window, using the specified display attribute.

TryDisplayTextAsync(String, LineDisplayTextAttribute, Point) TryDisplayTextAsync(String, LineDisplayTextAttribute, Point) TryDisplayTextAsync(String, LineDisplayTextAttribute, Point) TryDisplayTextAsync(String, LineDisplayTextAttribute, Point) TryDisplayTextAsync(String, LineDisplayTextAttribute, Point)

Try to display the specified text at a specified position in the line display window, using the specified display attribute.

TryDisplayTextAsync(String) TryDisplayTextAsync(String) TryDisplayTextAsync(String) TryDisplayTextAsync(String) TryDisplayTextAsync(String)

Try to display the specified text in the line display window.

public : IAsyncOperation<Platform::Boolean> TryDisplayTextAsync(Platform::String text)
IAsyncOperation<bool> TryDisplayTextAsync(winrt::hstring text) const;
public IAsyncOperation<bool> TryDisplayTextAsync(String text)
Public Function TryDisplayTextAsync(text As String) As IAsyncOperation(Of bool)
Windows.Devices.PointOfService.LineDisplayWindow.tryDisplayTextAsync(text).done( /* Your success and error handlers */ );

Parameters

text
String String String

The text to be displayed.

Returns

True if the text was displayed successfully; otherwise, false.

TryDisplayTextAsync(String, LineDisplayTextAttribute) TryDisplayTextAsync(String, LineDisplayTextAttribute) TryDisplayTextAsync(String, LineDisplayTextAttribute) TryDisplayTextAsync(String, LineDisplayTextAttribute) TryDisplayTextAsync(String, LineDisplayTextAttribute)

Try to display the specified text in the line display window, using the specified display attribute.

public : IAsyncOperation<Platform::Boolean> TryDisplayTextAsync(Platform::String text, LineDisplayTextAttribute displayAttribute)
IAsyncOperation<bool> TryDisplayTextAsync(winrt::hstring text, LineDisplayTextAttribute displayAttribute) const;
public IAsyncOperation<bool> TryDisplayTextAsync(String text, LineDisplayTextAttribute displayAttribute)
Public Function TryDisplayTextAsync(text As String, displayAttribute As LineDisplayTextAttribute) As IAsyncOperation(Of bool)
Windows.Devices.PointOfService.LineDisplayWindow.tryDisplayTextAsync(text, displayAttribute).done( /* Your success and error handlers */ );

Parameters

text
String String String

The text to be displayed.

displayAttribute
LineDisplayTextAttribute LineDisplayTextAttribute LineDisplayTextAttribute

The display attribute to be applied to the window.

Returns

True if the text was displayed successfully; otherwise, false.

TryDisplayTextAsync(String, LineDisplayTextAttribute, Point) TryDisplayTextAsync(String, LineDisplayTextAttribute, Point) TryDisplayTextAsync(String, LineDisplayTextAttribute, Point) TryDisplayTextAsync(String, LineDisplayTextAttribute, Point) TryDisplayTextAsync(String, LineDisplayTextAttribute, Point)

Try to display the specified text at a specified position in the line display window, using the specified display attribute.

public : IAsyncOperation<Platform::Boolean> TryDisplayTextAsync(Platform::String text, LineDisplayTextAttribute displayAttribute, Point startPosition)
IAsyncOperation<bool> TryDisplayTextAsync(winrt::hstring text, LineDisplayTextAttribute displayAttribute, Point startPosition) const;
public IAsyncOperation<bool> TryDisplayTextAsync(String text, LineDisplayTextAttribute displayAttribute, Point startPosition)
Public Function TryDisplayTextAsync(text As String, displayAttribute As LineDisplayTextAttribute, startPosition As Point) As IAsyncOperation(Of bool)
Windows.Devices.PointOfService.LineDisplayWindow.tryDisplayTextAsync(text, displayAttribute, startPosition).done( /* Your success and error handlers */ );

Parameters

text
String String String

The text to be displayed.

displayAttribute
LineDisplayTextAttribute LineDisplayTextAttribute LineDisplayTextAttribute

The display attribute to be applied to the window.

startPosition
Point Point Point

The row and column at which to start displaying the text.

Returns

True if the text was displayed successfully; otherwise, false.