StructSizeF
Represents a dimension in 2D coordinate space
Definition
Namespace:Telerik.WinForms.Documents.Model
Assembly:Telerik.WinControls.RichTextEditor.dll
Syntax:
[TypeConverter(typeof(SizeFConverter))]
public struct SizeF
Constructors
SizeF(PointF)
Initializes a new instance of the SizeF struct.
SizeF(Size)
Initializes a new instance of the SizeF struct.
SizeF(SizeF)
Initializes a new instance of the SizeF struct.
SizeF(float, float)
Initializes a new instance of the SizeF struct.
Fields
Properties
Height
Gets or sets the height.
Declaration
public float Height { readonly get; set; }
Property Value
The height.
IsEmpty
Gets a value indicating whether this instance is empty.
Declaration
[Browsable(false)]
public bool IsEmpty { get; }
Property Value
true if this instance is empty; otherwise, false.
Methods
Add(SizeF, SizeF)
Adds the specified size.
Equals(object)
Determines whether the specified object, is equal to this instance.
GetHashCode()
Returns a hash code for this instance.
Declaration
public override int GetHashCode()
Returns
A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table.
Overrides
Subtract(SizeF, SizeF)
Subtracts the specified size.
ToPointF()
Converts to PointF.
ToString()
Converts to string.
Operators
operator !=(SizeF, SizeF)
Implements the operator !=.
operator +(SizeF, SizeF)
Implements the operator +.
operator -(SizeF, SizeF)
Implements the operator -.
operator ==(SizeF, SizeF)
Implements the operator ==.