Partager via


AbstractSize.Invert(Size) Method

Definition

Returns a Size structure with the input's Width and Height properties swapped.

public:
 static System::Windows::Size Invert(System::Windows::Size size);
public static System.Windows.Size Invert (System.Windows.Size size);
static member Invert : System.Windows.Size -> System.Windows.Size
Public Shared Function Invert (size As Size) As Size

Parameters

size
Size

The original size.

Returns

The swapped size.

Applies to