Spread Windows Forms 15.0
GrapeCity.Spreadsheet Assembly / GrapeCity.Drawing Namespace / Rectangle Structure
Fields Properties Methods


In This Topic
    Rectangle Structure Members
    In This Topic

    The following tables list the members exposed by Rectangle.

    Public Constructors
     NameDescription
    Public ConstructorOverloaded.   
    Top
    Public Fields
     NameDescription
    Public Fieldstatic (Shared in Visual Basic)Represents a Rect structure with its properties left uninitialized. This field is read-only.  
    Top
    Public Properties
     NameDescription
    Public PropertyGets the y-coordinate that is the sum of Top and Height property values of this Rect structure.  
    Public PropertyGets or sets the height of this Rect structure.  
    Public PropertyDetermines whether this Rectangle is empty.  
    Public PropertyDetermines whether this Rectangle is invalid.  
    Public PropertyGets the x-coordinate of the left edge of this Rect structure.  
    Public PropertyGets or sets the coordinates of the upper-left corner of this Rect structure.  
    Public PropertyGets the x-coordinate that is the sum of Left and Width property values of this Rect structure.  
    Public PropertyGets the y-coordinate of the top edge of this Rect structure.  
    Public PropertyGets or sets the width of this Rect structure.  
    Public PropertyGets or sets the x-coordinate of the left edge of this Rect structure.  
    Public PropertyGets or sets the y-coordinate of the top edge of this Rect structure.  
    Top
    Public Methods
     NameDescription
    Public MethodDetermines if the specified point is contained within this Rect structure.  
    Public MethodGets the aligned rectangle.  
    Public MethodEnlarges a Rectangle structure by the specified amount.  
    Public Methodstatic (Shared in Visual Basic)Creates a rectangle that represents the intersetion between a and b. If there is no intersection, null is returned.  
    Public MethodDetermines if this rectangle intersects with rect.  
    Public MethodOverloaded. Adjusts the location of this rectangle by the specified amount.  
    Public MethodScales this Rectangle value by the specified scaleX and scaleY values.  
    Public Methodstatic (Shared in Visual Basic)Overloaded. Gets a Rectangle structure that contains the union of two Rectangle structures.  
    Top
    See Also