Delen via


CompositionClip.Scale Property

Definition

The scale to apply to the clip.

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

void Scale(float2 value);
public Vector2 Scale { get; set; }
var vector2 = compositionClip.scale;
compositionClip.scale = vector2;
Public Property Scale As Vector2

Property Value

Vector2 Vector2

float2

The scale to apply to the clip. The scale value is a multiplier of the clip's size. By default, the Scale value on a clip is (1, 1).

Windows requirements

Device family
Windows 10 Anniversary Edition (introduced in 10.0.14393.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v3.0)

Applies to

See also