←Select platform

LogicalRectangle Structure Members

Summary

The following tables list the members exposed by LogicalRectangle.

Public Constructors

Name Description
LogicalRectangle Initializes a new instance of the LogicalRectangle class with the specified location and size.

Public Methods

Name Description
!= Specifies whether this LogicalRectangle does not contain the same location, size, or unit as the specified Object.
== Specifies whether this LogicalRectangle contains the same location, size, and unit as the specified Object.
Contains Determines if the rectangular region represented by rect is entirely contained within this LogicalRectangle structure.
Convert Returns this LogicalRectangle structure, converted to its equivalent in the specified destination unit of measure.
ConvertTo Returns this LogicalRectangle structure, converted to its equivalent in the specified destination unit of measure.
Equals Determines whether the specified object equals this LogicalRectangle object.
FromLTRB Returns a LogicalRectangle structure with the specified edge locations and unit of measure.
FromRectangle Returns a LogicalRectangle structure with the specified Leadtools.LeadRect in Leadtools.Forms.LogicalUnit.Pixel.
GetHashCode Returns the hash code for this LogicalRectangle structure.
Inflate Inflates this LogicalRectangle structure by the specified amount.
Intersect Returns an LogicalRectangle structure that represents the intersection of two rectangles. If there is no intersection, an empty rectangle is returned.
IntersectsWith Determines if this rectangle intersects with a test rectangle.
Offset Adjusts the location of this rectangle by the specified amount.
ToRectangle Returns a Leadtools.LeadRect that represents this LogicalRectangle structure, converted to its equivalent in Leadtools.Forms.LogicalUnit.Pixel.
ToString Converts the attributes of this LogicalRectangle to a human-readable string.
Union Gets a Rectangle structure that contains the union of two Rectangle structures.

Public Properties

Name Description
Bottom Gets the y-coordinate that is the sum of the Y and Height property values of this LogicalRectangle structure.
Height Gets or sets the height of this LogicalRectangle structure.
IsEmpty Tests whether all numeric properties of this LogicalRectangle have values of zero.
Left Gets the x-coordinate of the left edge of this LogicalRectangle structure.
Location Gets or sets the coordinates of the upper-left corner of this LogicalRectangle structure.
Right Gets the x-coordinate that is the sum of the X and the Width property values of this LogicalRectangle structure.
Size Gets or sets the size of this LogicalRectangle.
Top Gets the y-coordinate of the top edge of this LogicalRectangle structure.
Unit Gets or sets a value that represents the unit of measure for this LogicalRectangle.
Width Gets or sets the width of this LogicalRectangle structure.
X Gets or sets the x-coordinate of the upper-left corner of this LogicalRectangle structure.
Y Gets or sets the y-coordinate of the upper-left corner of this LogicalRectangle structure.

Public Fields

Name Description
Empty Represents a new instance of the LogicalRectangle with uninitialized members.
Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Forms Assembly