AbstractSize.Invert(Size) Method
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.
C++
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
- size
- Size
The original size.
The swapped size.
Product | Versions |
---|---|
Visual Studio SDK | 2015, 2017, 2019, 2022 |