Size.Multiply Operator
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
Multiply(Size, Int32) |
Multiplies the specified Size by the specified integer. |
Multiply(Size, Single) |
Multiplies the specified Size by the specified single-precision floating-point number. |
Multiply(Int32, Size) |
Multiplies the specified integer by the specified Size. |
Multiply(Single, Size) |
Multiplies the specified single-precision floating-point number by the specified Size. |
Multiply(Size, Int32)
- Source:
- Size.cs
- Source:
- Size.cs
- Source:
- Size.cs
Multiplies 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 multiplicand.
- right
- Int32
The multiplier.
Returns
The result of multiplying left
's width and height by right
.
Applies to
Multiply(Size, Single)
- Source:
- Size.cs
- Source:
- Size.cs
- Source:
- Size.cs
Multiplies 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 multiplicand.
- right
- Single
The multiplier.
Returns
The result of multiplying left
's width and height by right
.
Applies to
Multiply(Int32, Size)
- Source:
- Size.cs
- Source:
- Size.cs
- Source:
- Size.cs
Multiplies the specified integer by the specified 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
Parameters
- left
- Int32
The multiplier.
- right
- Size
The multiplicand.
Returns
The result of multiplying right
's width and height by left
.
Applies to
Multiply(Single, Size)
- Source:
- Size.cs
- Source:
- Size.cs
- Source:
- Size.cs
Multiplies the specified single-precision floating-point number by the specified 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
Parameters
- left
- Single
The multiplier.
- right
- Size
The multiplicand.
Returns
The result of multiplying right
's width and height by left
.