Click or drag to resize
D3D11ControlResizeViewport Method
Resizes the viewport to the specified dimensions.

Namespace: SlimDX.Windows
Assembly: SlimDX.D3D11Control (in SlimDX.D3D11Control.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public void ResizeViewport(
	Size s
)

Parameters

s
Type: System.DrawingSize
The width and height to resize the viewport to, in pixels.
See Also