public static function PHPExcel_Shared_Font::inchSizeToPixels in Loft Data Grids 6.2
Same name and namespace in other branches
- 7.2 vendor/phpoffice/phpexcel/Classes/PHPExcel/Shared/Font.php \PHPExcel_Shared_Font::inchSizeToPixels()
* Calculate an (approximate) pixel size, based on inch size * *
Parameters
int $sizeInInch Font size (in inch): * @return int Size (in pixels)
1 call to PHPExcel_Shared_Font::inchSizeToPixels()
- PHPExcel_Reader_Excel2007::toCSSArray in vendor/
phpoffice/ phpexcel/ Classes/ PHPExcel/ Reader/ Excel2007.php
File
- vendor/
phpoffice/ phpexcel/ Classes/ PHPExcel/ Shared/ Font.php, line 404
Class
- PHPExcel_Shared_Font
- PHPExcel_Shared_Font
Code
public static function inchSizeToPixels($sizeInInch = 1) {
return $sizeInInch * 96;
}