Share via


ClaimedLineDisplay.TryStoreStorageFileBitmapAsync Method

Definition

Overloads

TryStoreStorageFileBitmapAsync(StorageFile, LineDisplayHorizontalAlignment, LineDisplayVerticalAlignment)

Attempts to asynchronously store a bitmap image from a StorageFile for later display on the line display device.

TryStoreStorageFileBitmapAsync(StorageFile, LineDisplayHorizontalAlignment, LineDisplayVerticalAlignment, Int32)

Attempts to asynchronously store a bitmap image from a StorageFile for later display on the line display device.

TryStoreStorageFileBitmapAsync(StorageFile)

Attempts to asynchronously store a bitmap image from a StorageFile for later display on the line display device.

TryStoreStorageFileBitmapAsync(StorageFile, LineDisplayHorizontalAlignment, LineDisplayVerticalAlignment)

Attempts to asynchronously store a bitmap image from a StorageFile for later display on the line display device.

public:
 virtual IAsyncOperation<LineDisplayStoredBitmap ^> ^ TryStoreStorageFileBitmapAsync(StorageFile ^ bitmap, LineDisplayHorizontalAlignment horizontalAlignment, LineDisplayVerticalAlignment verticalAlignment) = TryStoreStorageFileBitmapAsync;
/// [Windows.Foundation.Metadata.Overload("TryStoreStorageFileBitmapWithAlignmentAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<LineDisplayStoredBitmap> TryStoreStorageFileBitmapAsync(StorageFile const& bitmap, LineDisplayHorizontalAlignment const& horizontalAlignment, LineDisplayVerticalAlignment const& verticalAlignment);
[Windows.Foundation.Metadata.Overload("TryStoreStorageFileBitmapWithAlignmentAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<LineDisplayStoredBitmap> TryStoreStorageFileBitmapAsync(StorageFile bitmap, LineDisplayHorizontalAlignment horizontalAlignment, LineDisplayVerticalAlignment verticalAlignment);
function tryStoreStorageFileBitmapAsync(bitmap, horizontalAlignment, verticalAlignment)
Public Function TryStoreStorageFileBitmapAsync (bitmap As StorageFile, horizontalAlignment As LineDisplayHorizontalAlignment, verticalAlignment As LineDisplayVerticalAlignment) As IAsyncOperation(Of LineDisplayStoredBitmap)

Parameters

bitmap
StorageFile

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.

horizontalAlignment
LineDisplayHorizontalAlignment

Determines how the bitmap will be horizontally aligned relative to its originating character cell.

verticalAlignment
LineDisplayVerticalAlignment

Determines how the bitmap will be vertically aligned relative to its originating character cell.

Returns

True if the bitmap is stored successfully, False if a failure occurs.

Attributes

Windows requirements

Device family
Windows 10 Fall Creators Update (introduced in 10.0.16299.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v5.0)

Remarks

See also

Applies to

TryStoreStorageFileBitmapAsync(StorageFile, LineDisplayHorizontalAlignment, LineDisplayVerticalAlignment, Int32)

Attempts to asynchronously store a bitmap image from a StorageFile for later display on the line display device.

public:
 virtual IAsyncOperation<LineDisplayStoredBitmap ^> ^ TryStoreStorageFileBitmapAsync(StorageFile ^ bitmap, LineDisplayHorizontalAlignment horizontalAlignment, LineDisplayVerticalAlignment verticalAlignment, int widthInPixels) = TryStoreStorageFileBitmapAsync;
/// [Windows.Foundation.Metadata.Overload("TryStoreStorageFileBitmapWithAlignmentAndWidthAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<LineDisplayStoredBitmap> TryStoreStorageFileBitmapAsync(StorageFile const& bitmap, LineDisplayHorizontalAlignment const& horizontalAlignment, LineDisplayVerticalAlignment const& verticalAlignment, int const& widthInPixels);
[Windows.Foundation.Metadata.Overload("TryStoreStorageFileBitmapWithAlignmentAndWidthAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<LineDisplayStoredBitmap> TryStoreStorageFileBitmapAsync(StorageFile bitmap, LineDisplayHorizontalAlignment horizontalAlignment, LineDisplayVerticalAlignment verticalAlignment, int widthInPixels);
function tryStoreStorageFileBitmapAsync(bitmap, horizontalAlignment, verticalAlignment, widthInPixels)
Public Function TryStoreStorageFileBitmapAsync (bitmap As StorageFile, horizontalAlignment As LineDisplayHorizontalAlignment, verticalAlignment As LineDisplayVerticalAlignment, widthInPixels As Integer) As IAsyncOperation(Of LineDisplayStoredBitmap)

Parameters

bitmap
StorageFile

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.

horizontalAlignment
LineDisplayHorizontalAlignment

Determines how the bitmap will be horizontally aligned relative to its originating character cell.

verticalAlignment
LineDisplayVerticalAlignment

Determines how the bitmap will be vertically aligned relative to its originating character cell.

widthInPixels
Int32

int

The displayed bitmap width in pixels, if different from the original bitmap width. Height will be calculated proportionally.

Returns

True if the bitmap is stored successfully, False if a failure occurs.

Attributes

Windows requirements

Device family
Windows 10 Fall Creators Update (introduced in 10.0.16299.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v5.0)

Remarks

See also

Applies to

TryStoreStorageFileBitmapAsync(StorageFile)

Attempts to asynchronously store a bitmap image from a StorageFile for later display on the line display device.

public:
 virtual IAsyncOperation<LineDisplayStoredBitmap ^> ^ TryStoreStorageFileBitmapAsync(StorageFile ^ bitmap) = TryStoreStorageFileBitmapAsync;
/// [Windows.Foundation.Metadata.Overload("TryStoreStorageFileBitmapAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<LineDisplayStoredBitmap> TryStoreStorageFileBitmapAsync(StorageFile const& bitmap);
[Windows.Foundation.Metadata.Overload("TryStoreStorageFileBitmapAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<LineDisplayStoredBitmap> TryStoreStorageFileBitmapAsync(StorageFile bitmap);
function tryStoreStorageFileBitmapAsync(bitmap)
Public Function TryStoreStorageFileBitmapAsync (bitmap As StorageFile) As IAsyncOperation(Of LineDisplayStoredBitmap)

Parameters

bitmap
StorageFile

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.

Returns

True if the bitmap is stored successfully, False if a failure occurs.

Attributes

Windows requirements

Device family
Windows 10 Fall Creators Update (introduced in 10.0.16299.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v5.0)

Remarks

See also

Applies to