-api-id | -api-type |
---|---|
M:Windows.Devices.PointOfService.LineDisplayWindow.TryDisplayStorageFileBitmapAtPointAsync(Windows.Storage.StorageFile,Windows.Foundation.Point,System.Int32) |
winrt method |
Attempts to asynchronously display a bitmap from a storage file at a particular point, scaled to a particular width.
The bitmap to be displayed.
The number of pixels to offset the bitmap display from the top-left corner of the screen, {0,0}.
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.