-api-id | -api-type |
---|---|
M:Windows.Devices.PointOfService.LineDisplayWindow.TryDisplayStorageFileBitmapAtCursorAsync(Windows.Storage.StorageFile,Windows.Devices.PointOfService.LineDisplayHorizontalAlignment,Windows.Devices.PointOfService.LineDisplayVerticalAlignment,System.Int32) |
winrt method |
Attempts to asynchronously display a bitmap from a storage file at the current cursor position, at a particular width.
The bitmap to be displayed.
The horizontal alignment of the bitmap relative to the current text character position.
The vertical alignment of the bitmap relative to the current text character position.
The desired width of the bitmap. A value of 0 pixels will display the bitmap at one pixel per screen dot (unscaled).
Return True if the bitmap was successfully displayed; otherwise, False.
If the LineDisplayCapabilities.CanDisplayBitmaps value is False, this method will fail.
If the provided widthInPixels value is larger than ClaimedLineDisplay.MaxBitmapSizeInPixels, this method will fail.