GrapeCity.ActiveReports.Extensibility.v8 Assembly > GrapeCity.ActiveReports.Extensibility.Definition.Components Namespace : Length Structure |
The following tables list the members exposed by Length.
Name | Description | |
---|---|---|
Length Constructor | Overloaded. |
Name | Description | |
---|---|---|
IsUndefined | T:GrapeCity.ActiveReports.Extensibility.Definition.Components.Length% has been set to a particular value. | |
IsValid | Indicates if the Length string contains the correct units and value. | |
OriginalUnit |
Contains the original unit type that was passed in so that it can be used in conversions later.
|
Name | Description | |
---|---|---|
Add | Adds two specified Length values and return the unit of the first GrapeCity.ActiveReports.Extensibility.Definition.Components.Length. | |
CompareTo | Overloaded. Compares this instance to a specified object and returns an indication of their relative values. | |
Equals | Overloaded. Tests for equivalence between two Length objects. | |
FromTwips | Create a new Length from twips. | |
GetHashCode | Serves as a hash function for the Length | |
Multiply | Multiply the length to the specified value. | |
Subtract | Subtracts one Length from another and return the unit of the first GrapeCity.ActiveReports.Extensibility.Definition.Components.Length. | |
ToCentimeters | Converts the existing Length twips to centimeters (1cm = 567twips) | |
ToInches | Converts the existing Length twips to inches (1in = 1440twips) | |
ToMillimeters | Converts the existing Length twips to millimeters (1mm = 56.7twips) | |
ToPica | Converts the existing Length twips to pica (1pc = 240twips) | |
ToPoints | Converts the existing Length twips to points (1pt = 20twips) | |
ToString | Overloaded. Converts the value of this instance to its equivalent string representation. | |
ToTwips | Converts the existing Length to twips | |
TryParse | Tries to parse specified string as length. | |
TwipsToString |
Addition |
Adds two specified Length values and returns the unit of the first GrapeCity.ActiveReports.Extensibility.Definition.Components.Length.
|
Equality | 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. |
Explicit Type Conversion | Converts current Length instance to a string |
Greater Than |
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.
|
Greater Than or Equal |
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.
|
Implicit Type Conversion | Converts string value to a new Length instance. |
Inequality | 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. |
Less Than |
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.
|
Less Than or Equal |
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.
|
Subtraction | Subtracts one Length from another and return the unit of the first GrapeCity.ActiveReports.Extensibility.Definition.Components.Length. |