Share via


PrintSupportSettingsUISession 클래스

정의

인쇄 지원 설정 UI의 세션을 나타냅니다.

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

Windows 요구 사항

디바이스 패밀리
Windows 11 (10.0.22000.0에서 도입되었습니다.)
API contract
Windows.Foundation.UniversalApiContract (v14.0에서 도입되었습니다.)

설명

인쇄 지원 설정 UI 확장을 만들려면 앱이 패키지 매니페스트에서 windows.printSupportSettingsUI 범주를 사용하여 uap4:Extension 요소를 선언해야 합니다. 앱이 활성화되면 OnActivated 메서드는 인쇄 지원 UI 세션에 대한 정보에 대한 액세스를 제공하는 PrintSupportSettingsActivatedEventArgs 개체를 받습니다. 해당 개체의 Session 속성은 PrintSupportSettingsUISession 개체를 반환합니다.

자세한 내용은 인쇄 지원 앱 디자인 가이드를 참조하세요.

속성

DocumentTitle

인쇄 중인 문서의 제목을 가져옵니다.

LaunchKind

인쇄 지원 설정 UI를 시작한 작업 유형을 나타내는 값을 가져옵니다.

SessionInfo

인쇄 지원 설정 UI의 현재 세션에 대한 정보를 제공하는 개체를 가져옵니다.

SessionPrintTicket

현재 세션의 인쇄 티켓을 가져옵니다. 인쇄 티켓에는 프린터가 인쇄 작업에 대한 다양한 기능을 설정하는 방법에 대한 지침이 포함되어 있습니다.

메서드

UpdatePrintTicket(WorkflowPrintTicket)

지정한 인쇄 티켓 개체의 정보를 사용하여 현재 세션의 인쇄 티켓을 업데이트.

적용 대상

추가 정보