C# Class LayoutFarm.Css.CssLength

Represents and gets info about a CSS Length
http://www.w3.org/TR/CSS21/syndata.html#length-units
Mostra file Open project: prepare/HTML-Renderer Class Usage Examples

Public Properties

Property Type Description
AutoLength CssLength
BackgroundPosBottom CssLength
BackgroundPosCenter CssLength
BackgroundPosLeft CssLength
BackgroundPosRight CssLength
BackgroundPosTop CssLength
FontSizeLarge CssLength
FontSizeLarger CssLength
FontSizeMedium CssLength
FontSizeSmall CssLength
FontSizeSmaller CssLength
FontSizeXLarge CssLength
FontSizeXSmall CssLength
FontSizeXXLarge CssLength
FontSizeXXSmall CssLength
MainSize CssLength
Medium CssLength
NormalWordOrLine CssLength
NotAssign CssLength
Thick CssLength
Thin CssLength
ZeroNoUnit CssLength
ZeroPx CssLength

Public Methods

Method Description
CssLength ( float num, CssUnitOrNames unit ) : System
IsEq ( CssLength len1, CssLength len2 ) : bool
MakeFontSizePtUnit ( float pointUnit ) : CssLength
MakePixelLength ( float pixel ) : CssLength
MakeZeroLengthNoUnit ( ) : CssLength
ToString ( ) : string

Returns the length formatted ready for CSS interpreting.

Private Methods

Method Description
CssLength ( int internalFlags ) : System

Method Details

CssLength() public method

public CssLength ( float num, CssUnitOrNames unit ) : System
num float
unit CssUnitOrNames
return System

IsEq() public static method

public static IsEq ( CssLength len1, CssLength len2 ) : bool
len1 CssLength
len2 CssLength
return bool

MakeFontSizePtUnit() public static method

public static MakeFontSizePtUnit ( float pointUnit ) : CssLength
pointUnit float
return CssLength

MakePixelLength() public static method

public static MakePixelLength ( float pixel ) : CssLength
pixel float
return CssLength

MakeZeroLengthNoUnit() public static method

public static MakeZeroLengthNoUnit ( ) : CssLength
return CssLength

ToString() public method

Returns the length formatted ready for CSS interpreting.
public ToString ( ) : string
return string

Property Details

AutoLength public_oe static_oe property

public static CssLength,LayoutFarm.Css AutoLength
return CssLength

BackgroundPosBottom public_oe static_oe property

public static CssLength,LayoutFarm.Css BackgroundPosBottom
return CssLength

BackgroundPosCenter public_oe static_oe property

public static CssLength,LayoutFarm.Css BackgroundPosCenter
return CssLength

BackgroundPosLeft public_oe static_oe property

public static CssLength,LayoutFarm.Css BackgroundPosLeft
return CssLength

BackgroundPosRight public_oe static_oe property

public static CssLength,LayoutFarm.Css BackgroundPosRight
return CssLength

BackgroundPosTop public_oe static_oe property

public static CssLength,LayoutFarm.Css BackgroundPosTop
return CssLength

FontSizeLarge public_oe static_oe property

public static CssLength,LayoutFarm.Css FontSizeLarge
return CssLength

FontSizeLarger public_oe static_oe property

public static CssLength,LayoutFarm.Css FontSizeLarger
return CssLength

FontSizeMedium public_oe static_oe property

public static CssLength,LayoutFarm.Css FontSizeMedium
return CssLength

FontSizeSmall public_oe static_oe property

public static CssLength,LayoutFarm.Css FontSizeSmall
return CssLength

FontSizeSmaller public_oe static_oe property

public static CssLength,LayoutFarm.Css FontSizeSmaller
return CssLength

FontSizeXLarge public_oe static_oe property

public static CssLength,LayoutFarm.Css FontSizeXLarge
return CssLength

FontSizeXSmall public_oe static_oe property

public static CssLength,LayoutFarm.Css FontSizeXSmall
return CssLength

FontSizeXXLarge public_oe static_oe property

public static CssLength,LayoutFarm.Css FontSizeXXLarge
return CssLength

FontSizeXXSmall public_oe static_oe property

public static CssLength,LayoutFarm.Css FontSizeXXSmall
return CssLength

MainSize public_oe static_oe property

public static CssLength,LayoutFarm.Css MainSize
return CssLength

Medium public_oe static_oe property

public static CssLength,LayoutFarm.Css Medium
return CssLength

NormalWordOrLine public_oe static_oe property

public static CssLength,LayoutFarm.Css NormalWordOrLine
return CssLength

NotAssign public_oe static_oe property

public static CssLength,LayoutFarm.Css NotAssign
return CssLength

Thick public_oe static_oe property

public static CssLength,LayoutFarm.Css Thick
return CssLength

Thin public_oe static_oe property

public static CssLength,LayoutFarm.Css Thin
return CssLength

ZeroNoUnit public_oe static_oe property

public static CssLength,LayoutFarm.Css ZeroNoUnit
return CssLength

ZeroPx public_oe static_oe property

public static CssLength,LayoutFarm.Css ZeroPx
return CssLength