CompositionViewBox.Size Property

Definition

Gets or sets the height and width of the view box.

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

void Size(float2 value);
public Vector2 Size { get; set; }
var vector2 = compositionViewBox.size;
compositionViewBox.size = vector2;
Public Property Size As Vector2

Property Value

Vector2 Vector2

float2

The height and width of the view box.

Applies to