Skip to content

Latest commit

 

History

History
34 lines (23 loc) · 1.29 KB

linedisplaywindow_trydisplaystoragefilebitmapatcursorasync_1536408927.md

File metadata and controls

34 lines (23 loc) · 1.29 KB
-api-id -api-type
M:Windows.Devices.PointOfService.LineDisplayWindow.TryDisplayStorageFileBitmapAtCursorAsync(Windows.Storage.StorageFile,Windows.Devices.PointOfService.LineDisplayHorizontalAlignment,Windows.Devices.PointOfService.LineDisplayVerticalAlignment)
winrt method

Windows.Devices.PointOfService.LineDisplayWindow.TryDisplayStorageFileBitmapAtCursorAsync

-description

Attempts to asynchronously display a bitmap from a storage file at the current cursor position.

-parameters

-param bitmap

The bitmap to be displayed.

-param horizontalAlignment

The horizontal alignment of the bitmap relative to the current text character position.

-param verticalAlignment

The vertical alignment of the bitmap relative to the current text character position.

-returns

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

-remarks

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

-see-also

-examples