LineDisplayWindow.TryDisplayStorageFileBitmapAtCursorAsync 메서드

정의

오버로드

TryDisplayStorageFileBitmapAtCursorAsync(StorageFile, LineDisplayHorizontalAlignment, LineDisplayVerticalAlignment, Int32)

특정 너비의 현재 커서 위치에 있는 스토리지 파일의 비트맵을 비동기적으로 표시하려고 시도합니다.

TryDisplayStorageFileBitmapAtCursorAsync(StorageFile, LineDisplayHorizontalAlignment, LineDisplayVerticalAlignment)

스토리지 파일의 비트맵을 현재 커서 위치에 비동기적으로 표시하려고 시도합니다.

TryDisplayStorageFileBitmapAtCursorAsync(StorageFile)

스토리지 파일의 비트맵을 현재 커서 위치에 비동기적으로 표시하려고 시도합니다.

TryDisplayStorageFileBitmapAtCursorAsync(StorageFile, LineDisplayHorizontalAlignment, LineDisplayVerticalAlignment, Int32)

특정 너비의 현재 커서 위치에 있는 스토리지 파일의 비트맵을 비동기적으로 표시하려고 시도합니다.

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

매개 변수

bitmap
StorageFile

표시할 비트맵입니다.

horizontalAlignment
LineDisplayHorizontalAlignment

현재 텍스트 문자 위치를 기준으로 하는 비트맵의 가로 맞춤입니다.

verticalAlignment
LineDisplayVerticalAlignment

현재 텍스트 문자 위치를 기준으로 하는 비트맵의 세로 맞춤입니다.

widthInPixels
Int32

int

원하는 비트맵의 너비입니다. 0픽셀 값은 비트맵을 화면 점당 1픽셀(스케일링되지 않음)으로 표시합니다.

반환

비트맵이 성공적으로 표시되면 True를 반환합니다. 그렇지 않으면 False입니다.

특성

Windows 요구 사항

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

설명

LineDisplayCapabilities.CanDisplayBitmaps 값이 False이면 이 메서드가 실패합니다.

제공된 widthInPixels 값이 ClaimedLineDisplay.MaxBitmapSizeInPixels보다 크면 이 메서드가 실패합니다.

적용 대상

TryDisplayStorageFileBitmapAtCursorAsync(StorageFile, LineDisplayHorizontalAlignment, LineDisplayVerticalAlignment)

스토리지 파일의 비트맵을 현재 커서 위치에 비동기적으로 표시하려고 시도합니다.

public:
 virtual IAsyncOperation<bool> ^ TryDisplayStorageFileBitmapAtCursorAsync(StorageFile ^ bitmap, LineDisplayHorizontalAlignment horizontalAlignment, LineDisplayVerticalAlignment verticalAlignment) = TryDisplayStorageFileBitmapAtCursorAsync;
/// [Windows.Foundation.Metadata.Overload("TryDisplayStorageFileBitmapAtCursorWithAlignmentAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<bool> TryDisplayStorageFileBitmapAtCursorAsync(StorageFile const& bitmap, LineDisplayHorizontalAlignment const& horizontalAlignment, LineDisplayVerticalAlignment const& verticalAlignment);
[Windows.Foundation.Metadata.Overload("TryDisplayStorageFileBitmapAtCursorWithAlignmentAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<bool> TryDisplayStorageFileBitmapAtCursorAsync(StorageFile bitmap, LineDisplayHorizontalAlignment horizontalAlignment, LineDisplayVerticalAlignment verticalAlignment);
function tryDisplayStorageFileBitmapAtCursorAsync(bitmap, horizontalAlignment, verticalAlignment)
Public Function TryDisplayStorageFileBitmapAtCursorAsync (bitmap As StorageFile, horizontalAlignment As LineDisplayHorizontalAlignment, verticalAlignment As LineDisplayVerticalAlignment) As IAsyncOperation(Of Boolean)

매개 변수

bitmap
StorageFile

표시할 비트맵입니다.

horizontalAlignment
LineDisplayHorizontalAlignment

현재 텍스트 문자 위치를 기준으로 하는 비트맵의 가로 맞춤입니다.

verticalAlignment
LineDisplayVerticalAlignment

현재 텍스트 문자 위치를 기준으로 하는 비트맵의 세로 맞춤입니다.

반환

비트맵이 성공적으로 표시되면 True를 반환합니다. 그렇지 않으면 False입니다.

특성

Windows 요구 사항

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

설명

LineDisplayCapabilities.CanDisplayBitmaps 값이 False이면 이 메서드가 실패합니다.

적용 대상

TryDisplayStorageFileBitmapAtCursorAsync(StorageFile)

스토리지 파일의 비트맵을 현재 커서 위치에 비동기적으로 표시하려고 시도합니다.

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

매개 변수

bitmap
StorageFile

표시할 비트맵입니다.

반환

비트맵이 성공적으로 표시되면 True를 반환합니다. 그렇지 않으면 False입니다.

특성

Windows 요구 사항

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

설명

LineDisplayCapabilities.CanDisplayBitmaps 값이 False이면 이 메서드가 실패합니다.

적용 대상