Size.Division(Size, Double) Operator
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.
Divides a size by a scalar value.
public:
static Microsoft::Maui::Graphics::Size operator /(Microsoft::Maui::Graphics::Size s1, double value);
public static Microsoft.Maui.Graphics.Size operator /(Microsoft.Maui.Graphics.Size s1, double value);
static member ( / ) : Microsoft.Maui.Graphics.Size * double -> Microsoft.Maui.Graphics.Size
Public Shared Operator / (s1 As Size, value As Double) As Size
Parameters
- s1
- Size
The size to divide.
- value
- Double
The scalar value to divide by.
Returns
A new size with the width and height divided by the scalar value.
Exceptions
Thrown when value
is zero.