Size.MultiplySize.MultiplySize.MultiplySize.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) 將指定的整數乘以所指定 Size。Multiplies the specified integer by the specified Size. Multiply(Single, Size) Multiply(Single, Size) Multiply(Single, Size) Multiply(Single, Size) 將指定的單精確度浮點數乘以所指定 Size。Multiplies the specified single-precision floating-point number by the specified Size.

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

``````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

right
Int32 Int32 Int32 Int32

傳回

`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)

``````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

right
Single Single Single Single

傳回

`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)

``````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

right
Size Size Size Size

傳回

`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)

``````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

right
Size Size Size Size

傳回

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