Share via


Size.Multiply(Size, Double) Operator

Definition

Multiplies 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 multiply.

value
Double

The scalar value to multiply by.

Returns

A new size with the width and height multiplied by the scalar value.

Applies to