共用方式為


ClaimedLineDisplay.TryStoreStorageFileBitmapAsync 方法

定義

多載

TryStoreStorageFileBitmapAsync(StorageFile, LineDisplayHorizontalAlignment, LineDisplayVerticalAlignment)

嘗試從 StorageFile 非同步儲存點陣圖影像,以供稍後線上條顯示裝置上顯示。

TryStoreStorageFileBitmapAsync(StorageFile, LineDisplayHorizontalAlignment, LineDisplayVerticalAlignment, Int32)

嘗試從 StorageFile 非同步儲存點陣圖影像,以供稍後線上條顯示裝置上顯示。

TryStoreStorageFileBitmapAsync(StorageFile)

嘗試從 StorageFile 非同步儲存點陣圖影像,以供稍後線上條顯示裝置上顯示。

TryStoreStorageFileBitmapAsync(StorageFile, LineDisplayHorizontalAlignment, LineDisplayVerticalAlignment)

嘗試從 StorageFile 非同步儲存點陣圖影像,以供稍後線上條顯示裝置上顯示。

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)

參數

bitmap
StorageFile

代表本機點陣圖檔案的 StorageFile 。 所有線條都顯示支援黑白未壓縮的 Windows 點陣圖。 檢查裝置規格是否有其他支援的格式。

horizontalAlignment
LineDisplayHorizontalAlignment

決定點陣圖相對於其原始字元儲存格的水準對齊方式。

verticalAlignment
LineDisplayVerticalAlignment

決定點陣圖相對於其原始字元儲存格的垂直對齊方式。

傳回

True 是表示 如果點陣圖成功儲存,則為 False,如果發生失敗則為 False。

屬性

Windows 需求

裝置系列
Windows 10 Fall Creators Update (已於 10.0.16299.0 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v5.0 引進)

備註

另請參閱

適用於

TryStoreStorageFileBitmapAsync(StorageFile, LineDisplayHorizontalAlignment, LineDisplayVerticalAlignment, Int32)

嘗試從 StorageFile 非同步儲存點陣圖影像,以供稍後線上條顯示裝置上顯示。

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)

參數

bitmap
StorageFile

代表本機點陣圖檔案的 StorageFile 。 所有線條都顯示支援黑白未壓縮的 Windows 點陣圖。 檢查裝置規格是否有其他支援的格式。

horizontalAlignment
LineDisplayHorizontalAlignment

決定點陣圖相對於其原始字元儲存格的水準對齊方式。

verticalAlignment
LineDisplayVerticalAlignment

決定點陣圖相對於其原始字元儲存格的垂直對齊方式。

widthInPixels
Int32

int

如果與原始點陣圖寬度不同,則會以圖元為單位顯示點陣圖寬度。 高度會按比例計算。

傳回

True 是表示 如果點陣圖成功儲存,則為 False,如果發生失敗則為 False。

屬性

Windows 需求

裝置系列
Windows 10 Fall Creators Update (已於 10.0.16299.0 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v5.0 引進)

備註

另請參閱

適用於

TryStoreStorageFileBitmapAsync(StorageFile)

嘗試從 StorageFile 非同步儲存點陣圖影像,以供稍後線上條顯示裝置上顯示。

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)

參數

bitmap
StorageFile

代表本機點陣圖檔案的 StorageFile 。 所有線條都顯示支援黑白未壓縮的 Windows 點陣圖。 檢查裝置規格是否有其他支援的格式。

傳回

True 是表示 如果點陣圖成功儲存,則為 False,如果發生失敗則為 False。

屬性

Windows 需求

裝置系列
Windows 10 Fall Creators Update (已於 10.0.16299.0 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v5.0 引進)

備註

另請參閱

適用於