Size Narrowing Conversion (Size to Vector)

Explicitly converts an instance of Size to an instance of Vector.

Namespace:  System.Windows
Assembly:  WindowsBase (in WindowsBase.dll)

'Declaration
Public Shared Narrowing Operator CType ( _
	size As Size _
) As Vector

Parameters

size
Type: System.Windows.Size

The Size value to be converted.

Return Value

Type: System.Windows.Vector
A Vector equal in value to this instance of Size.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft