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입니다.

특성

Windows 요구 사항

디바이스 패밀리
Windows 10 Fall Creators Update (10.0.16299.0에서 도입되었습니다.)
API contract
Windows.Foundation.UniversalApiContract (v5.0에서 도입되었습니다.)

설명

  • 비트맵 StorageFile 은 로컬 파일에서 백업해야 합니다. 스트림에서 만든 경우 URI 또는 다른 원본이 이 메서드에서 예외를 throw합니다.
  • LineDisplayCapabiliaties.CanDisplayBitmaps가 False이면 이 메서드를 호출하면 예외가 발생합니다.
  • 이 메서드를 사용하여 최대 100비트맵을 저장할 수 있습니다. 100개 이상의 비트맵을 저장하려고 하면 예외가 발생합니다. LineDisplayStoredBitmap.TryDeleteAsync를 사용하여 사용하지 않는 비트맵을 삭제합니다.

추가 정보

적용 대상

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입니다.

특성

Windows 요구 사항

디바이스 패밀리
Windows 10 Fall Creators Update (10.0.16299.0에서 도입되었습니다.)
API contract
Windows.Foundation.UniversalApiContract (v5.0에서 도입되었습니다.)

설명

  • 비트맵 StorageFile 은 로컬 파일에서 백업해야 합니다. 스트림에서 만든 경우 URI 또는 다른 원본이 이 메서드에서 예외를 throw합니다.
  • LineDisplayCapabiliaties.CanDisplayBitmaps가 False이면 이 메서드를 호출하면 예외가 발생합니다.
  • 이 메서드를 사용하여 최대 100비트맵을 저장할 수 있습니다. 100개 이상의 비트맵을 저장하려고 하면 예외가 발생합니다. LineDisplayStoredBitmap.TryDeleteAsync를 사용하여 사용하지 않는 비트맵을 삭제합니다.
  • ClaimedLineDisplay.MaxBitmapSizeInPixels보다 큰 비트맵 너비를 전달하면 예외가 발생합니다.

추가 정보

적용 대상

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입니다.

특성

Windows 요구 사항

디바이스 패밀리
Windows 10 Fall Creators Update (10.0.16299.0에서 도입되었습니다.)
API contract
Windows.Foundation.UniversalApiContract (v5.0에서 도입되었습니다.)

설명

  • 비트맵 StorageFile 은 로컬 파일에서 백업해야 합니다. 스트림에서 만든 경우 URI 또는 다른 원본이 이 메서드에서 예외를 throw합니다.
  • LineDisplayCapabiliaties.CanDisplayBitmaps가 False이면 이 메서드를 호출하면 예외가 발생합니다.
  • 이 메서드를 사용하여 최대 100비트맵을 저장할 수 있습니다. 100개 이상의 비트맵을 저장하려고 하면 예외가 발생합니다. LineDisplayStoredBitmap.TryDeleteAsync를 사용하여 사용하지 않는 비트맵을 삭제합니다.

추가 정보

적용 대상