CompositionDrawingSurface.Resize(SizeInt32) Method

Definition

Resizes the drawing surface to the specified size.

public:
 virtual void Resize(SizeInt32 sizePixels) = Resize;
void Resize(SizeInt32 const& sizePixels);
public void Resize(SizeInt32 sizePixels);
function resize(sizePixels)
Public Sub Resize (sizePixels As SizeInt32)

Parameters

sizePixels
SizeInt32

The new size in pixels for the drawing surface.

Windows requirements

Device family
Windows 10 Creators Update (introduced in 10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v4.0)

Applies to