PageConfigurationSettings 类

定义

指定页面配置源。 默认情况下,所有属性值都设置为 PageConfigurationSource.PrintJobConfiguration

public ref class PageConfigurationSettings sealed
/// [Windows.Foundation.Metadata.Activatable(983040, "Windows.Foundation.UniversalApiContract")]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 983040)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class PageConfigurationSettings final
[Windows.Foundation.Metadata.Activatable(983040, "Windows.Foundation.UniversalApiContract")]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 983040)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class PageConfigurationSettings
function PageConfigurationSettings()
Public NotInheritable Class PageConfigurationSettings
继承
Object Platform::Object IInspectable PageConfigurationSettings
属性

Windows 要求

设备系列
Windows 11 Insider Preview (在 10.0.23504.0 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v15.0 中引入)

构造函数

PageConfigurationSettings()

指定页面配置源。 默认情况下,所有属性值都设置为 PageConfigurationSource.PrintJobConfiguration

属性

OrientationSource

指定页面配置源。 默认情况下,所有属性值都设置为 PageConfigurationSource.PrintJobConfiguration

SizeSource

指定页面配置源。 默认情况下,所有属性值都设置为 PageConfigurationSource.PrintJobConfiguration

适用于