AbstractSize.Invert(Size) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.