-api-id | -api-type |
---|---|
M:Windows.Devices.PointOfService.ClaimedLineDisplay.TryStoreStorageFileBitmapAsync(Windows.Storage.StorageFile,Windows.Devices.PointOfService.LineDisplayHorizontalAlignment,Windows.Devices.PointOfService.LineDisplayVerticalAlignment) |
winrt method |
Attempts to asynchronously store a bitmap image from a StorageFile for later display on the line display device.
A StorageFile that represents a local bitmap file. All line displays support black and white uncompressed Windows bitmaps. Check device specifications for other supported formats.
Determines how the bitmap will be horizontally aligned relative to its originating character cell.
Determines how the bitmap will be vertically aligned relative to its originating character cell.
True if the bitmap is stored successfully, False if a failure occurs.
- The bitmap StorageFile must be backed by a local file. If it is created from a stream, a URI or another source this method will throw an exception.
- Calling this method when LineDisplayCapabiliaties.CanDisplayBitmaps is False will result in an exception.
- Up to 100 bitmaps can be stored using this method. Attempting to store more than 100 bitmaps will result in an exception. Delete unused bitmaps using LineDisplayStoredBitmap.TryDeleteAsync.
LineDisplayStoredBitmap.EscapeSequence LineDisplayWindow.TryDisplayStoredBitmapAtCursorAsync(LineDisplayStoredBitmap) LineDisplayStoredBitmap.TryDeleteAsync()