SizeF.Multiply 運算子

定義

多載

Multiply(SizeF, Single)

將指定的 SizeF 乘以所指定單精確度浮點數。Multiplies the specified SizeF by the specified single-precision floating-point number.

Multiply(Single, SizeF)

將指定的單精確度浮點數乘以所指定 SizeFMultiplies the specified single-precision floating-point number by the specified SizeF.

Multiply(SizeF, Single)

將指定的 SizeF 乘以所指定單精確度浮點數。Multiplies the specified SizeF by the specified single-precision floating-point number.

public:
 static System::Drawing::SizeF operator *(System::Drawing::SizeF left, float right);
public static System.Drawing.SizeF operator * (System.Drawing.SizeF left, float right);
static member ( * ) : System.Drawing.SizeF * single -> System.Drawing.SizeF
Public Shared Operator * (left As SizeF, right As Single) As SizeF

參數

left
SizeF

被乘數。The multiplicand.

right
Single

乘數。The multiplier.

傳回

left 寬度和高度乘以 right 的結果。The result of multiplying left's width and height by right.

Multiply(Single, SizeF)

將指定的單精確度浮點數乘以所指定 SizeFMultiplies the specified single-precision floating-point number by the specified SizeF.

public:
 static System::Drawing::SizeF operator *(float left, System::Drawing::SizeF right);
public static System.Drawing.SizeF operator * (float left, System.Drawing.SizeF right);
static member ( * ) : single * System.Drawing.SizeF -> System.Drawing.SizeF
Public Shared Operator * (left As Single, right As SizeF) As SizeF

參數

left
Single

乘數。The multiplier.

right
SizeF

被乘數。The multiplicand.

傳回

right 寬度和高度乘以 left 的結果。The result of multiplying right's width and height by left.

適用於