Click or drag to resize

SizeF Operators and Type Conversions

The SizeF type exposes the following members.

Operators
  NameDescription
Public operatorStatic memberAddition(SizeF, SizeF)
Adds the Width and Height values of two sizes together
Public operatorStatic memberAddition(SizeF, Single)
Adds a value to the Width and Height of the specified size
Public operatorStatic memberDivision(SizeF, SizeF)
Divides the Width and Height of two sizes
Public operatorStatic memberDivision(SizeF, Single)
Divides the Width and Height of a size by the specified factor
Public operatorStatic memberEquality
Compares two sizes for equality
Public operatorStatic member(PointF to SizeF)
Explicit conversion from a point to a Size with a Width and Height of the X and Y values of the point, respectively
Public operatorStatic member(Size to SizeF)
Implicitly converts the specified integral size to a floating point SizeF
Public operatorStatic memberInequality
Compares two sizes for inequality
Public operatorStatic memberMultiply(Single, SizeF)
Multiplies the Width and Height of a size by the specified factor
Public operatorStatic memberMultiply(SizeF, SizeF)
Multiplies the Width and Height of two sizes
Public operatorStatic memberMultiply(SizeF, Single)
Multiplies the Width and Height of a size by the specified factor
Public operatorStatic memberSubtraction(SizeF, SizeF)
Subtracts the Width and Height value of one size from another
Public operatorStatic memberSubtraction(SizeF, Single)
Subtracts a value from the Width and Height of the specified size
Public operatorStatic memberUnaryNegation
Negates the Width and Height of the specified size value
Top
See Also