StructSizeF
Represents a dimension in 2D coordinate space
Definition
Namespace:Telerik.Windows.Documents.Model
Assembly:Telerik.Windows.Controls.RichTextBox.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.
Declaration
public SizeF(Size size)
Parameters
size
Size
The size.
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.
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.
ToSize()
Converts to Size.
Declaration
public Size ToSize()
Returns
Size
The Size object.
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 ==.