Leadtools.Annotations Requires Document/Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
AnnRectangle Structure Members
See Also  Fields  Properties  Methods 
Leadtools.Annotations Namespace : AnnRectangle Structure


The following tables list the members exposed by AnnRectangle.

Public Constructors

 NameDescription
Public Constructor AnnRectangle ConstructorOverloaded.  Initializes a new instance of the AnnRectangle structure using the specified dimensions.  
Top

Public Fields

 NameDescription
Public Fieldstatic (Shared in Visual Basic) Empty Represents a new instance of the AnnRectangle structure with member data left uninitialized.  
Top

Public Properties

 NameDescription
Public Property Bottom Gets the y-coordinate of the bottom of this AnnRectangle structure.  
Public Property Height Gets or sets the height of this AnnRectangle structure.  
Public Property IsEmpty Gets a value indicating whether all numeric properties of this AnnRectangle structure have values of zero.  
Public Property Left Gets the x-coordinate of the left edge of this AnnRectangle structure.  
Public Property Location Gets or sets the coordinates of the upper-left corner of this AnnRectangle structure.  
Public Property Right Gets the x-coordinate of the right edge of this AnnRectangle structure.  
Public Property Size Gets or sets the size of this AnnRectangle structure.  
Public Property Top Gets the y-coordinate of the top of this AnnRectangle structure.  
Public Property Unit Gets or sets a value that specifies the unit of measure for this AnnRectangle structure.  
Public Property Width Gets or sets the width of this AnnRectangle structure.  
Public Property X Gets or sets the x-coordinate of the upper-left corner of this AnnRectangle structure.  
Public Property Y Gets or sets the y-coordinate of the upper-left corner of this AnnRectangle structure.  
Top

Public Methods

 NameDescription
Public Method ContainsOverloaded.  Determines if the specified point is contained within this AnnRectangle structure.  
Public Method Convert Converts this AnnRectangle structure to one with the specified unit of measure.  
Public Method ConvertedBottom Returns the value of the bottom edge of this AnnRectangle structure, converted to its equivalent in specified AnnUnit unit of measure.  
Public Method ConvertedHeight Returns the value for the height of this AnnRectangle structure, converted to its equivalent in the specified AnnUnit unit of measure.  
Public Method ConvertedLeft Returns the value of the left edge of this AnnRectangle structure converted to its equivalent in the specified AnnUnit unit of measure.  
Public Method ConvertedRight Returns the value of the right edge of this AnnRectangle structure, converted to its equivalent in the specified AnnUnit unit of measure.  
Public Method ConvertedTop Returns the value of the top edge of this AnnRectangle structure, converted to its equivalent in the specified AnnUnit unit of measure.  
Public Method ConvertedWidth Returns the value for the width of this AnnRectangle structure, converted to its equivalent in the specified AnnUnit unit of measure.  
Public Method ConvertTo Converts this AnnRectangle structure with the specified unit of measure to another AnnRectangle structure.  
Public Method EqualsOverridden.  Specifies whether this AnnRectangle structure contains the same dimensions as the specified Object.
For more information about this method, see Equals.  
Public Methodstatic (Shared in Visual Basic) FromLTRBOverloaded.  Creates a AnnRectangle structure with the specified upper-left corner and lower-right corner and the specified unit of measure.  
Public Method GetHashCodeOverridden.  Returns a hash code for this AnnRectangle structure.
For information about this method, see GetHashCode.  
Public Method InflateOverloaded.  Inflates this AnnRectangle structure by the specified amounts.  
Public Method IntersectOverloaded.  Replaces this AnnRectangle structure with the intersection of itself and the specified AnnRectangle structure.  
Public Method IntersectsWith Determines if this rectangle intersects with a test rectangle.  
Public Method OffsetOverloaded.  Adjusts the location of this rectangle by the specified amounts.  
Public Method ToRectangleF Converts this AnnRectangle structure to a RectangleF structure.  
Public Method ToStringOverridden.  Overridden. Converts this AnnRectangle structure to a human-readable string.  
Public Methodstatic (Shared in Visual Basic) Union Creates the smallest possible third rectangle that can contain both of two rectangles that form a union.  
Top

Public Operators

Public Operator Equality Tests whether two AnnRectangle structures are equal.
Public Operator Inequality Tests whether two AnnRectangle structures are unequal.
Top

See Also

Leadtools.Annotations requires a Document or Medical toolkit license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features