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

Definition

Overloads

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

Divides the specified Size by the specified integer.

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

Divides the specified Size by the specified single-precision floating-point number.

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

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

Parameters

left
Size Size Size Size

The dividend.

right
Int32 Int32 Int32 Int32

The divisor.

Returns

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)

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

Parameters

left
Size Size Size Size

The dividend.

right
Single Single Single Single

The divisor.

Returns

The result of dividing left's width and height by right.

Applies to