Delen via


DigitalWindowCapability Class

Definition

Represents the digital window capture capabilities of the capture device.

public ref class DigitalWindowCapability sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 786432)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class DigitalWindowCapability final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 786432)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class DigitalWindowCapability
Public NotInheritable Class DigitalWindowCapability
Inheritance
Object Platform::Object IInspectable DigitalWindowCapability
Attributes

Windows requirements

Device family
Windows 10, version 2104 (introduced in 10.0.20348.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v12.0)

Remarks

Get an instance of this class by calling GetCapabilityForSize.

Properties

Height

Gets the height of the capture resolution for which the capabilities are supported.

MaxScaleValue

Gets the maximum scale value supported by the capture device for digital window capture.

MinScaleValue

Gets the minimum scale value supported by the capture device for digital window capture.

MinScaleValueWithoutUpsampling

Gets the minimum scale value supported by the capture device for digital window capture that doesn't require the captured pixels to be upsampled.

NormalizedFieldOfViewLimit

Gets a normalized rectangle representing the field of view limit of the capture device.

Width

Gets the width of the capture resolution for which the capabilities are supported.

Applies to