TreeView for WinForms | ComponentOne
C1.Win.Interop Namespace / Size Structure
Properties Methods


In This Topic
    Size Structure Members
    In This Topic

    The following tables list the members exposed by Size.

    Public Constructors
     NameDescription
    Public ConstructorInitializes a new instance of the Size structure.  
    Top
    Public Properties
     NameDescription
    Public Propertystatic (Shared in Visual Basic)Represents an empty instance of the Size structure.  
    Public PropertyGets or sets the vertical component of the current Size.  
    Public PropertyGets a value indicating whether of the current Size has zero Size.Width and Size.Height.  
    Public PropertyGets or sets the horizontal component of the current Size.  
    Top
    Public Methods
     NameDescription
    Public Methodstatic (Shared in Visual Basic)Adds two Size structures.  
    Public MethodConverts the current Size structure to a Point by rounding the width and height to the next higher integer values.  
    Public MethodIndicates whether this instance and a specified object are equal.  
    Public MethodServes as the default hash function.  
    Public Methodstatic (Shared in Visual Basic)Converts a string to a Size structure.  
    Public Methodstatic (Shared in Visual Basic)Subtracts one Size structure from another.  
    Public MethodReturns a string that represents the current object.  
    Public MethodConverts the current Size structure to a Point by truncating the width and height to integer values.  
    Top
    Public Operators
    Adds two Size structures.
    Indicates whether two Size structures are equal.
    Converts a Size to a Point.
    Overloaded. Converts a System.Drawing.Size to a Size.
    Indicates whether two Size structures are not equal.
    Subtracts one Size structure from another.
    Top
    See Also