Share via


CompositionVisualSurface.SourceSize Property

Definition

Gets or sets the the height and width of the part of the visual surface used for rendering.

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

void SourceSize(float2 value);
public Vector2 SourceSize { get; set; }
var vector2 = compositionVisualSurface.sourceSize;
compositionVisualSurface.sourceSize = vector2;
Public Property SourceSize As Vector2

Property Value

Vector2 Vector2

float2

The height and width of the part of the visual surface used for rendering.

Applies to