SizeF.Multiply Operator

Definition

Overloads

Multiply(SizeF, Single)

Multiplies the specified SizeF by the specified single-precision floating-point number.

Multiply(Single, SizeF)

Multiplies the specified single-precision floating-point number by the specified SizeF.

Multiply(SizeF, Single)

Source:
SizeF.cs
Source:
SizeF.cs
Source:
SizeF.cs

Multiplies the specified SizeF by the specified single-precision floating-point number.

public static System.Drawing.SizeF operator * (System.Drawing.SizeF left, float right);

Parameters

left
SizeF

The multiplicand.

right
Single

The multiplier.

Returns

The result of multiplying left's width and height by right.

Applies to

.NET 9 and other versions
Product Versions
.NET Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9
.NET Standard 2.1

Multiply(Single, SizeF)

Source:
SizeF.cs
Source:
SizeF.cs
Source:
SizeF.cs

Multiplies the specified single-precision floating-point number by the specified SizeF.

public static System.Drawing.SizeF operator * (float left, System.Drawing.SizeF right);

Parameters

left
Single

The multiplier.

right
SizeF

The multiplicand.

Returns

The result of multiplying right's width and height by left.

Applies to

.NET 9 and other versions
Product Versions
.NET Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9
.NET Standard 2.1