Click or drag to resize
CanvasSwapChainResizeBuffers Method (Single, Single, Single, DirectXPixelFormat, Int32)
Changes the CanvasSwapChain's back buffer size, DPI, pixel format, and number of buffers.

Namespace:  Microsoft.Graphics.Canvas
Assembly:  Microsoft.Graphics.Canvas (in Microsoft.Graphics.Canvas.dll) Version: 0.0.0.0
Syntax
C#
public void ResizeBuffers(
	float newWidth,
	float newHeight,
	float newDpi,
	DirectXPixelFormat newFormat,
	int bufferCount
)

Parameters

newWidth
Type: SystemSingle
newHeight
Type: SystemSingle
newDpi
Type: SystemSingle
newFormat
Type: Windows.Graphics.DirectXDirectXPixelFormat
bufferCount
Type: SystemInt32
Remarks
See Also