Share via


Size.Division(Size, Double) Operator

Definition

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.

Applies to