ActiveReports 15 .NET Edition
GrapeCity.ActiveReports.Core.Rdl Assembly / GrapeCity.ActiveReports.PageReportModel Namespace / Length Structure
Fields Properties Methods

In This Topic
    Length Structure Members
    In This Topic

    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 PropertyIndicates if the Length has been set to a particular value;  
    Public PropertyIndicates if the Length string contains the correct units and value.  
    Public PropertyReturns True if the length is valid and equals to zero.  
    Public PropertyContains the oringinal unit type that was passed in so 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)Multiplies the specified length.  
    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 return 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 trueif the first operand is greater than the second, falseotherwise.
    All numeric and enumeration types define a "greater than or equal" relational operator (>=) that returns trueif the first operand is greater than or equal to the second, falseotherwise.
    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 trueif the first operand is less than the second, falseotherwise.
    All numeric and enumeration types define a "less than or equal" relational operator (<=) that returns trueif the first operand is less than or equal to the second, falseotherwise.
    Subtracts one Length from another and return the unit of the first GrapeCity.ActiveReports.Extensibility.Definition.Components.Length.
    Inverts sign of the length value.
    Top
    See Also