Size constructor

Size.Size constructor

Applies to Windows and Windows Phone

Initializes a new instance of the Size structure and assigns it an initial width and height.

Syntax


public Size(
  double width, 
  double height
)

Parameters

width

Type: System.Double

The initial width of the instance of Size.

height

Type: System.Double

The initial height of the instance of Size.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8.1 [Windows Runtime apps only]

Namespace

Windows.Foundation

Assembly

System.Runtime.WindowsRuntime.dll

See also

Size

 

 

Show:
© 2016 Microsoft