GraphicsCaptureItem 클래스

정의

선택기 컨트롤을 사용하여 선택한 캡처의 대상입니다.

public ref class GraphicsCaptureItem sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 393216)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class GraphicsCaptureItem final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 393216)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class GraphicsCaptureItem
Public NotInheritable Class GraphicsCaptureItem
상속
Object Platform::Object IInspectable GraphicsCaptureItem
특성

Windows 요구 사항

디바이스 패밀리
Windows 10, version 1803 (10.0.17134.0에서 도입되었습니다.)
API contract
Windows.Foundation.UniversalApiContract (v6.0에서 도입되었습니다.)

설명

버전 기록

Windows 버전 SDK 버전 추가된 값
1809 17763 CreateFromVisual

속성

DisplayName

캡처 대상의 표시 이름(예: 애플리케이션 제목)입니다.

Size

캡처 대상의 크기입니다.

메서드

CreateFromVisual(Visual)

지정된 시각적 개체를 나타내는 GraphicsCaptureItem을 생성합니다.

TryCreateFromDisplayId(DisplayId)

지정된 DisplayId를 사용하여 디스플레이를 나타내는 GraphicsCaptureItem을 만들려고 시도합니다.

TryCreateFromWindowId(WindowId)

지정된 WindowId가 있는 창을 나타내는 GraphicsCaptureItem을 만들려고 시도합니다.

이벤트

Closed

캡처 대상이 닫혔을 때 발생하는 이벤트입니다.

적용 대상

추가 정보