Method | Description | |
---|---|---|
convertTo ( float $value, float $unitFrom, float $unitTo ) : float | converts the value to another unit | |
getGlobalUnit ( ) : string | gets global unit | |
getPointsInTwips ( float $value ) : integer | gets points in twips | |
getUnitInTwips ( float $value ) : float | gets unit in twips | |
setGlobalUnit ( string $unit ) | sets global unit |
public static getGlobalUnit ( ) : string | ||
return | string |
public static getPointsInTwips ( float $value ) : integer | ||
$value | float | |
return | integer |
public static getUnitInTwips ( float $value ) : float | ||
$value | float | |
return | float |
public static setGlobalUnit ( string $unit ) | ||
$unit | string |