SizeF Methods

The SizeF type exposes the following members.

Methods
  NameDescription
Public methodStatic memberAdd
Adds the width and height of one SizeF structure to the width and height of another SizeF structure.
Public methodEquals
Tests to see whether the specified object is a SizeF with the same dimensions as this SizeF.
(Overrides ValueTypeEquals(Object).)
Public methodGetHashCode
Returns a hash code for this Size structure.
(Overrides ValueTypeGetHashCode.)
Public methodGetType
Gets the type of the current instance.
(Inherited from Object.)
Public methodStatic memberSubtract
Subtracts the width and height of one SizeF structure from the width and height of another SizeF structure.
Public methodToPointF
Converts a SizeF to a PointF.
Public methodToSize
Converts a SizeF to a Size structure with truncated size values.
Public methodToString
Creates a human-readable string that represents this SizeF.
(Overrides ValueTypeToString.)
See Also