AbstractSize.Invert(Size) Method

Definition

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

C++
public:
 static System::Windows::Size Invert(System::Windows::Size size);

Parameters

size
Size

The original size.

Returns

The swapped size.

Applies to

Product Versions
Visual Studio SDK 2015, 2017, 2019, 2022