ActiveReports 9
Length Structure Members
Fields  Properties  Methods 

The following tables list the members exposed by Length.

Public Constructors
 NameDescription
Public ConstructorLength ConstructorOverloaded.   
Top
Public Fields
 NameDescription
Public Fieldstatic (Shared in Visual Basic)EmptyAn empty Length object.  
Public Fieldstatic (Shared in Visual Basic)ZeroA zero inch Length object.  
Top
Public Properties
 NameDescription
Public PropertyIsUndefinedT:GrapeCity.ActiveReports.Extensibility.Definition.Components.Length% has been set to a particular value.  
Public PropertyIsValidIndicates if the Length string contains the correct units and value.  
Public PropertyOriginalUnit
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)AddAdds two specified Length values and return the unit of the first GrapeCity.ActiveReports.Extensibility.Definition.Components.Length.  
Public MethodCompareToOverloaded. Compares this instance to a specified object and returns an indication of their relative values.  
Public MethodEqualsOverloaded. Tests for equivalence between two Length objects.  
Public Methodstatic (Shared in Visual Basic)FromTwipsCreate a new Length from twips.  
Public MethodGetHashCodeServes as a hash function for the Length  
Public Methodstatic (Shared in Visual Basic)MultiplyMultiply the length to the specified value.  
Public Methodstatic (Shared in Visual Basic)SubtractSubtracts one Length from another and return the unit of the first GrapeCity.ActiveReports.Extensibility.Definition.Components.Length.  
Public MethodToCentimetersConverts the existing Length twips to centimeters (1cm = 567twips)  
Public MethodToInchesConverts the existing Length twips to inches (1in = 1440twips)  
Public MethodToMillimetersConverts the existing Length twips to millimeters (1mm = 56.7twips)  
Public MethodToPicaConverts the existing Length twips to pica (1pc = 240twips)  
Public MethodToPointsConverts the existing Length twips to points (1pt = 20twips)  
Public MethodToStringOverloaded. Converts the value of this instance to its equivalent string representation.  
Public MethodToTwipsConverts the existing Length to twips  
Public Methodstatic (Shared in Visual Basic)TryParseTries to parse specified string as length.  
Public Methodstatic (Shared in Visual Basic)TwipsToStringConverts a passed in value to string based on the passed in unit type.  
Top
Public Operators
public Operator Addition
Adds two specified Length values and returns the unit of the first GrapeCity.ActiveReports.Extensibility.Definition.Components.Length.
public Operator 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.
public Operator Explicit Type Conversion Converts current Length instance to a string
public Operator 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.
public Operator 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.
public Operator Implicit Type Conversion Converts string value to a new Length instance.
public Operator 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.
public 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.
public Operator 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.
public Operator Subtraction 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

 

 


Copyright © 2016 GrapeCity, inc. All rights reserved

Support Forum