CompositionVisualSurface.SourceSize Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
The height and width of the part of the visual surface used for rendering.