CompositionDrawingSurface.Resize(SizeInt32) CompositionDrawingSurface.Resize(SizeInt32) CompositionDrawingSurface.Resize(SizeInt32) CompositionDrawingSurface.Resize(SizeInt32) Method

Definition

Resizes the drawing surface to the specified size.

public : void Resize(SizeInt32 sizePixels)
void Resize(SizeInt32 sizePixels) const;
public void Resize(SizeInt32 sizePixels)
Public Sub Resize(sizePixels As SizeInt32)

Parameters

sizePixels
SizeInt32 SizeInt32

The new size in pixels for the drawing surface.

Additional features and requirements

Device family
Windows 10 Creators Update (introduced v10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v4)