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


The following tables list the members exposed by AnnSize.

Public Constructors

 NameDescription
Public Constructor AnnSize ConstructorOverloaded.  Initializes a new instance of the AnnSize structure from the specified dimension.  
Top

Public Fields

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

Public Properties

 NameDescription
Public Property Height Gets or sets the height or vertical component of this AnnSize structure.  
Public Property IsEmpty Gets a value indicating whether this AnnSize structure is empty.  
Public Property Unit Gets or sets the unit of measure for this AnnSize structure.  
Public Property Width Gets or sets the width or horizontal component this AnnSize structure.  
Top

Public Methods

 NameDescription
Public Methodstatic (Shared in Visual Basic) Add Adds the width and height of one AnnSize structure to the width and height of another AnnSize structure.  
Public Method Convert Converts this AnnSize structure to the specified unit.  
Public Method ConvertedHeight Returns the value of the vertical component of this AnnSize structrue, in the specified AnnUnit unit of measure.  
Public Method ConvertedWidth Returns the value of the width or horizontal component of this AnnSize structure, in the units specified in the unit parameter.  
Public Method ConvertTo Converts this AnnSize structure to the specified units, and returns a new AnnSize structure.  
Public Method EqualsOverridden.  Determines whether this AnnSize structure contains the same dimensions as the specified Object.  
Public Method GetHashCodeOverridden.  Returns a hash code for this AnnSize structure. For more information about this method, refer to GetHashCode.  
Public Methodstatic (Shared in Visual Basic) Subtract Subtracts the width and height of one AnnSize structure from the width and height of another AnnSize structure.  
Public Method ToAnnPoint Converts this AnnSize structure to an AnnPoint structure.  
Public Method ToSizeF Converts this AnnSize structure to a SizeF structure.  
Public Method ToStringOverridden.  Overridden. Converts this AnnSize structure to a human-readable string.  
Top

Public Operators

Public Operator Addition Adds the width and height of one AnnSize structure to the width and height of another AnnSize structure.
Public Operator Equality Determines whether two AnnSize structures are equal.
Public Operator Explicit Type Conversion Converts the specified AnnSize structure to an AnnPoint structure.
Public Operator Inequality Determines whether two AnnSize structures are unequal.
Public Operator Subtraction Subtracts the width and height of one AnnSize structure from the width and height of another AnnSize structure.
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