Dela via


DigitalWindowBounds.Scale Property

Definition

Gets or sets a value specifying the scale of the digital window bounds.

public:
 property double Scale { double get(); void set(double value); };
double Scale();

void Scale(double value);
public double Scale { get; set; }
var double = digitalWindowBounds.scale;
digitalWindowBounds.scale = double;
Public Property Scale As Double

Property Value

Double

double

A value, greater than 0 and less than or equal to 1, specifying the scale of the digital window bounds.

Remarks

The digital window must have the same aspect ratio as the capture preview stream, so rather than specifying a width and height, apps specify a scale value relative to the preview stream resolution.

Applies to