Size.Multiply Size.Multiply Size.Multiply Size.Multiply Operator

定義

多載

Multiply(Size, Int32) Multiply(Size, Int32) Multiply(Size, Int32) Multiply(Size, Int32)

將指定的 Size 乘以所指定整數。Multiplies the specified Size by the specified integer.

Multiply(Size, Single) Multiply(Size, Single) Multiply(Size, Single) Multiply(Size, Single)

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

Multiply(Int32, Size) Multiply(Int32, Size) Multiply(Int32, Size) Multiply(Int32, Size)

將指定的整數乘以所指定 SizeMultiplies the specified integer by the specified Size.

Multiply(Single, Size) Multiply(Single, Size) Multiply(Single, Size) Multiply(Single, Size)

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

Multiply(Size, Int32) Multiply(Size, Int32) Multiply(Size, Int32) Multiply(Size, Int32)

將指定的 Size 乘以所指定整數。Multiplies the specified Size by the specified integer.

public:
 static System::Drawing::Size operator *(System::Drawing::Size left, int right);
public static System.Drawing.Size operator * (System.Drawing.Size left, int right);
static member ( * ) : System.Drawing.Size * int -> System.Drawing.Size
Public Shared Operator * (left As Size, right As Integer) As Size

參數

left
Size Size Size Size

被乘數。The multiplicand.

right
Int32 Int32 Int32 Int32

乘數。The multiplier.

傳回

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

Multiply(Size, Single) Multiply(Size, Single) Multiply(Size, Single) Multiply(Size, Single)

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

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

參數

left
Size Size Size Size

被乘數。The multiplicand.

right
Single Single Single Single

乘數。The multiplier.

傳回

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

Multiply(Int32, Size) Multiply(Int32, Size) Multiply(Int32, Size) Multiply(Int32, Size)

將指定的整數乘以所指定 SizeMultiplies the specified integer by the specified Size.

public:
 static System::Drawing::Size operator *(int left, System::Drawing::Size right);
public static System.Drawing.Size operator * (int left, System.Drawing.Size right);
static member ( * ) : int * System.Drawing.Size -> System.Drawing.Size
Public Shared Operator * (left As Integer, right As Size) As Size

參數

left
Int32 Int32 Int32 Int32

乘數。The multiplier.

right
Size Size Size Size

被乘數。The multiplicand.

傳回

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

Multiply(Single, Size) Multiply(Single, Size) Multiply(Single, Size) Multiply(Single, Size)

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

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

參數

left
Single Single Single Single

乘數。The multiplier.

right
Size Size Size Size

被乘數。The multiplicand.

傳回

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

適用於