共用方式為


Size.Multiply 運算子

定義

多載

Multiply(Size, Int32)

將指定的 Size 乘以所指定整數。

Multiply(Size, Single)

將指定的 Size 乘以所指定單精確度浮點數。

Multiply(Int32, Size)

將指定的整數乘以所指定 Size

Multiply(Single, Size)

將指定的單精確度浮點數乘以所指定 Size

Multiply(Size, Int32)

來源:
Size.cs
來源:
Size.cs
來源:
Size.cs

將指定的 Size 乘以所指定整數。

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

被乘數。

right
Int32

乘數。

傳回

left 寬度和高度乘以 right 的結果。

適用於

Multiply(Size, Single)

來源:
Size.cs
來源:
Size.cs
來源:
Size.cs

將指定的 Size 乘以所指定單精確度浮點數。

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

被乘數。

right
Single

乘數。

傳回

left 寬度和高度乘以 right 的結果。

適用於

Multiply(Int32, Size)

來源:
Size.cs
來源:
Size.cs
來源:
Size.cs

將指定的整數乘以所指定 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

乘數。

right
Size

被乘數。

傳回

right 寬度和高度乘以 left 的結果。

適用於

Multiply(Single, Size)

來源:
Size.cs
來源:
Size.cs
來源:
Size.cs

將指定的單精確度浮點數乘以所指定 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

乘數。

right
Size

被乘數。

傳回

right 寬度和高度乘以 left 的結果。

適用於