ActiveReports 12
Length Structure Members
Fields  Properties  Methods 

GrapeCity.ActiveReports.Extensibility.v12 Assembly > GrapeCity.ActiveReports.Extensibility.Definition.Components Namespace : Length Structure

The following tables list the members exposed by Length.

Public Constructors
 NameDescription
Public ConstructorOverloaded.   
Top
Public Fields
 NameDescription
Public Fieldstatic (Shared in Visual Basic)An empty Length object.  
Public Fieldstatic (Shared in Visual Basic)A zero inch Length object.  
Top
Public Properties
 NameDescription
Public PropertyT:GrapeCity.ActiveReports.Extensibility.Definition.Components.Length% has been set to a particular value.  
Public PropertyIndicates if the Length string contains the correct units and value.  
Public Property
Contains the original unit type that was passed in so that it can be used in conversions later.
 
Top
Public Methods
 NameDescription
Public Methodstatic (Shared in Visual Basic)Adds two specified Length values and return the unit of the first GrapeCity.ActiveReports.Extensibility.Definition.Components.Length.  
Public MethodOverloaded. Compares this instance to a specified object and returns an indication of their relative values.  
Public Methodstatic (Shared in Visual Basic)Divides the specified lengths.  
Public MethodOverloaded. Tests for equivalence between two Length objects.  
Public Methodstatic (Shared in Visual Basic)Create a new Length from twips.  
Public MethodServes as a hash function for the Length  
Public Methodstatic (Shared in Visual Basic)Multiply the length to the specified value.  
Public Methodstatic (Shared in Visual Basic)Subtracts one Length from another and return the unit of the first GrapeCity.ActiveReports.Extensibility.Definition.Components.Length.  
Public MethodConverts the existing Length twips to centimeters (1cm = 567twips)  
Public MethodConverts the existing Length twips to inches (1in = 1440twips)  
Public MethodConverts the existing Length twips to millimeters (1mm = 56.7twips)  
Public MethodConverts the existing Length twips to pica (1pc = 240twips)  
Public MethodConverts the existing Length twips to points (1pt = 20twips)  
Public MethodOverloaded. Converts the value of this instance to its equivalent string representation.  
Public MethodConverts the existing Length to twips  
Public Methodstatic (Shared in Visual Basic)Tries to parse specified string as length.  
Public Methodstatic (Shared in Visual Basic)Converts a passed in value to string based on the passed in unit type.  
Top
Public Operators
Adds two specified Length values and returns the unit of the first GrapeCity.ActiveReports.Extensibility.Definition.Components.Length.
For predefined value types, the equality operator (==) returns true if the values of its operands are equal, false otherwise. For reference types other than string, == returns true if its two operands refer to the same object. For the string type, == compares the values of the strings.
Converts current Length instance to a string
All numeric and enumeration types define a "greater than" relational operator (>) that returns true if the first operand is greater than the second, false otherwise.
All numeric and enumeration types define a "greater than or equal" relational operator (>=) that returns true if the first operand is greater than or equal to the second, false otherwise.
Converts string value to a new Length instance.
The inequality operator (!=) returns false if its operands are equal, true otherwise. Inequality operators are predefined for all types, including string and object. User-defined types can overload the != operator.
All numeric and enumeration types define a "less than" relational operator (<) that returns true if the first operand is less than the second, false otherwise.
All numeric and enumeration types define a "less than or equal" relational operator (<=) that returns true if the first operand is less than or equal to the second, false otherwise.
Subtracts one Length from another and return the unit of the first GrapeCity.ActiveReports.Extensibility.Definition.Components.Length.
Top
See Also

Reference

Length Structure
GrapeCity.ActiveReports.Extensibility.Definition.Components Namespace