Click or drag to resize

RectangleF Operators and Type Conversions

The RectangleF type exposes the following members.

Operators
  NameDescription
Public operatorStatic memberEquality
Tests whether two System.Drawing.RectangleF structures have equal location and size.
Public operatorStatic member(Rectangle to RectangleF)
Converts the specified System.Drawing.Rectangle structure to a System.Drawing.RectangleF structure.
Public operatorStatic member(RectangleF to RectangleF)
Copies the specified System.Drawing.RectangleF structure to a System.Drawing.RectangleF structure.
Public operatorStatic member(RectangleF to RectangleF)
Converts the specified RectangleF structure to a RectangleF structure.
Public operatorStatic member(RectangleF to Rectangle)
Converts the specified RectangleF structure to a Rectangle structure by rounding the RectangleF values to the next higher integer values.
Public operatorStatic memberInequality
Tests whether two System.Drawing.RectangleF structures differ in location or size.
Top
See Also