Input 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 Width and 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 MethodReturns the hash code for this instance.  
    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 MethodConverts the current Size structure to a human-readable string representing it.  
    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