Size.Division Operator

Definition

Overloads

Division(Size, Int32)

Divides the specified Size by the specified integer.

Division(Size, Single)

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

Division(Size, Int32)

Source:
Size.cs
Source:
Size.cs
Source:
Size.cs

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

The dividend.

right
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.

Applies to

Division(Size, Single)

Source:
Size.cs
Source:
Size.cs
Source:
Size.cs

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

The dividend.

right
Single

The divisor.

Returns

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

Applies to