Click or drag to resize
CanvasSwapChain Constructor (ICanvasResourceCreator, Single, Single, Single, DirectXPixelFormat, Int32, CanvasAlphaMode)
Initializes a new instance of the CanvasSwapChain class with the options specified.

Namespace:  Microsoft.Graphics.Canvas
Assembly:  Microsoft.Graphics.Canvas (in Microsoft.Graphics.Canvas.dll) Version: 0.0.0.0
Syntax
C#
public CanvasSwapChain(
	ICanvasResourceCreator resourceCreator,
	float width,
	float height,
	float dpi,
	DirectXPixelFormat format,
	int bufferCount,
	CanvasAlphaMode alphaMode
)

Parameters

resourceCreator
Type: Microsoft.Graphics.CanvasICanvasResourceCreator
width
Type: SystemSingle
height
Type: SystemSingle
dpi
Type: SystemSingle
format
Type: Windows.Graphics.DirectXDirectXPixelFormat
bufferCount
Type: SystemInt32
alphaMode
Type: Microsoft.Graphics.CanvasCanvasAlphaMode
Remarks
See Also