Size.Division Size.Division Size.Division Size.Division Operator

定義

多載

Division(Size, Int32) Division(Size, Int32) Division(Size, Int32) Division(Size, Int32)

將指定的 Size 除以所指定整數。Divides the specified Size by the specified integer.

Division(Size, Single) Division(Size, Single) Division(Size, Single) Division(Size, Single)

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

Division(Size, Int32) Division(Size, Int32) Division(Size, Int32) Division(Size, Int32)

將指定的 Size 除以所指定整數。Divides 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 dividend.

right
Int32 Int32 Int32 Int32

除數。The divisor.

傳回

新的 Size,其中包含將 left 高度除以 right 及將 left 寬度除以 right 的個別結果。A new Size, which contains the result of dividing left's height by right and left's width by right, respectively.

Division(Size, Single) Division(Size, Single) Division(Size, Single) Division(Size, Single)

將指定的 Size 除以所指定單精確度浮點數。Divides 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 dividend.

right
Single Single Single Single

除數。The divisor.

傳回

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

適用於