←Select platform
In This Topic ▼

LeadRect Structure Members

Summary

The following tables list the members exposed by LeadRect.

Public Constructors

Name Description
Public Constructor LeadRect Initializes a new instance of the LeadRect class with the specified location and size.

Public Methods

Name Description
Public Method static  | Shared in VB != Specifies whether this LeadRect does not contain the same location and size as the specified object.
Public Method static  | Shared in VB == Specifies whether this LeadRect contains the same location and size as the specified object.
Public Method Contains Determines if the rectangular region represented by rect is entirely contained within this LeadRect structure.
Public Method static  | Shared in VB Create Initializes a new LeadRect object with explicit parameters.
Public Method Equals Determines whether the specified object equals this LeadRect object.
Public Method static  | Shared in VB FromLTRB Returns a LeadRect structure with the specified edge locations.
Public Method GetHashCode Returns the hash code for this LeadRect structure.
Public Method Inflate Inflates this LeadRect structure by the specified amount.
Public Method static  | Shared in VB Intersect Returns an LeadRect structure that represents the intersection of two rectangles. If there is no intersection, an empty rectangle is returned.
Public Method IntersectsWith Determines if this rectangle intersects with a test rectangle.
Public Method static  | Shared in VB Normalize Gets the normalized version of a rectangle so that both the height and width are positive.
Public Method Offset Adjusts the location of this rectangle by the specified amount.
Public Method static  | Shared in VB Parse Parses a string and returns a new instance of LeadRect from it.
Public Method ToLeadRectD Converts this LeadRect to a LeadRectD.
Public Method ToString Converts this LeadRect to a human-readable string using the specified format and provider.
Public Method static  | Shared in VB Union Gets a rectangle structure that contains the union of two rectangle structures.

Public Properties

Name Description
Public Property Bottom Gets the y-coordinate of the lower-right corner of this LeadRect structure.
Public Property static  | Shared in VB Empty Represents a new instance of the LeadRect with uninitialized members.
Public Property Height Gets or sets the height of this LeadRect structure.
Public Property IsEmpty Gets a value indicating whether this LeadRect structure is empty.
Public Property Left Gets the x-coordinate of the left edge of this LeadRect structure.
Public Property Location Gets or sets the coordinates of the upper-left corner of this LeadRect structure.
Public Property Right Gets the x-coordinate of the upper-right corner of this LeadRect structure.
Public Property Size Gets or sets the size of this LeadRect.
Public Property Top Gets the y-coordinate of the top edge of this LeadRect structure.
Public Property Width Gets or sets the width of this LeadRect structure.
Public Property X Gets or sets the x-coordinate of the upper-left corner of this LeadRect structure.
Public Property Y Gets or sets the y-coordinate of the upper-left corner of this LeadRect structure.

See Also

Reference

LeadRect Structure

Leadtools Namespace

Help Version 21.0.2021.7.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools Assembly

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.