ActiveReports 18 .NET Edition
MESCIUS.ActiveReports Assembly / DDCssLib Namespace / CSSValue Structure
Properties Methods

In This Topic
    CSSValue Structure Members
    In This Topic

    The following tables list the members exposed by CSSValue.

    Public Constructors
     NameDescription
    Public ConstructorOverloaded.   
    Top
    Public Properties
     NameDescription
    Public PropertyGets/sets the Unit value.  
    Top
    Public Methods
     NameDescription
    Public MethodPerforms a "deep copy" (memebers and child memebers) the specified CSSValue to this CSSValue instance.  
    Public MethodOverride of System.Object.Equals(). Checks for value equality of the Unit and actual Value contained in this object.  
    Public MethodReturns the current color value as a Color object. If the current unit type is string it will be converted using ColorTranslator.FromHtml(). If the current value is a Color it is returned directly.  
    Public MethodReturns a value as a float.  
    Public MethodProvides a hashcode by XORing the Unit.GetHashCode() and {value}.GetHashCode().  
    Public MethodReturns an integer value.  
    Public MethodReturns a length value in pixel units.  
    Public MethodReturns a length value in twip units.  
    Public MethodReturns the current percent value as a float.  
    Public MethodReturns the current string value.  
    Public MethodReturns true if the unit type is currently a valid Angle unit.  
    Public MethodReturns true if the unit type is current a valid color unit (eCSSUnit.Color_Hex or eCSSUnit.Color_Name or eCSSUnit.Color_RGBFunc or eCSSUnit.Color_System).  
    Public MethodReturns true if the unit type is currently a valid fixed length unit.  
    Public MethodReturns true if the current unit type is a valid Frequency unit.  
    Public MethodReturns true if the unit type is currently a valid length unit (fixed or relative).  
    Public MethodReturns true if the unit type is currently a valid relative length unit.  
    Public MethodReturns true if the current unit type is a valid time unit.  
    Public MethodResets this current value. Sets all value members to their appropriate empty equivelent (numbers are set to 0), and sets the current Unit type to eCSSUnit.Null.  
    Public MethodSpecifies that this CSSValue's value is the CSS keyword 'auto'.  
    Public MethodSpecifies this class's current value as a System.Drawing.Color object. Will set the Unit value to eCSSUnit.Color.  
    Public MethodSpecifies this current value as a float.  
    Public MethodIndicates that this value is not null, not none, but should be inherited from the parent object of the object who's style this value is applied to. In CSS this is the default value for many *child* elements's (but certainly not all) style properties who's style is not specified.  
    Public MethodSpecifies the value as an integer.  
    Public MethodSets this class's value to the special CSS value 'none' (e.g. border properties, background-image, display, etc...).  
    Public MethodSets this class'es value to the special CSS value 'normal'. (e.g. font-style, font-variant, font-weight, word-spacing, letter-spacing, line-height).  
    Public MethodSpecifies the value as a percent.  
    Public MethodSpecifies this class's current value as a string.  
    Public MethodWrites out the current unit type and value in a string formatted appropriately for debugging purposes.  
    Public MethodWrites out this class's current value in string form.  
    Top
    Public Operators
    After checking arguments for null, uses valA.Equals(valB). If either argument is null, the return will be false.
    After checking both arguments for null, uses !valA.Equals(valB). If either argument is null, true will be returned.
    Top
    See Also