# Size.Multiply 运算符

## 重载

 Multiply(Size, Int32) 将指定的 Size 与指定的整数相乘。Multiplies the specified Size by the specified integer. Multiply(Size, Single) 将指定的 Size 与指定的单精度浮点数相乘。Multiplies the specified Size by the specified single-precision floating-point number. Multiply(Int32, Size) 将指定的整数与指定的 Size 相乘。Multiplies the specified integer by the specified Size. Multiply(Single, Size) 将指定的单精度浮点数与指定的 Size 相乘。Multiplies the specified single-precision floating-point number by the specified Size.

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

right
Int32

#### 返回

Size

`left` 的宽度和高度与 `right` 相乘的结果。The result of multiplying `left`'s width and height by `right`.

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

right
Single

#### 返回

SizeF

`left` 的宽度和高度与 `right` 相乘的结果。The result of multiplying `left`'s width and height by `right`.

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

right
Size

#### 返回

Size

`right` 的宽度和高度与 `left` 相乘的结果。The result of multiplying `right`'s width and height by `left`.

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

right
Size

#### 返回

SizeF

`right` 的宽度和高度与 `left` 相乘的结果。The result of multiplying `right`'s width and height by `left`.