Click or drag to resize

Size Class

Represents a pair of numbers that in general are used to define dimensions in the two-dimensional space.
Inheritance Hierarchy
SystemObject
  DotNetBrowser.GeometrySize

Namespace:  DotNetBrowser.Geometry
Assembly:  DotNetBrowser (in DotNetBrowser.dll) Version: 2.24.2
Syntax
C#
public class Size

The Size type exposes the following members.

Constructors
  NameDescription
Public methodSize
Initializes a new instance of the Size class with the specified width and height.
Top
Properties
  NameDescription
Public propertyHeight
Gets the vertical dimension.
Public propertyIsEmpty
Indicates whether width and height of this Size have values of zero.
Public propertyWidth
Gets the horizontal dimension.
Top
Methods
  NameDescription
Public methodEquals(Object)
Determines whether the specified object is equal to the current object.
(Overrides ObjectEquals(Object).)
Protected methodEquals(Size)
Determines whether the specified Size object is equal to the current object.
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Overrides ObjectGetHashCode.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Overrides ObjectToString.)
Top
Fields
  NameDescription
Public fieldStatic memberEmpty
An empty Size that has x and y values set to zero.
Top
See Also