You are here

public static function PHPExcel_Shared_Drawing::EMUToPixels in Loft Data Grids 6.2

Same name and namespace in other branches
  1. 7.2 vendor/phpoffice/phpexcel/Classes/PHPExcel/Shared/Drawing.php \PHPExcel_Shared_Drawing::EMUToPixels()

* Convert EMU to pixels * *

Parameters

int $pValue Value in EMU: * @return int Value in pixels

1 call to PHPExcel_Shared_Drawing::EMUToPixels()
PHPExcel_Reader_Excel2007::load in vendor/phpoffice/phpexcel/Classes/PHPExcel/Reader/Excel2007.php
* Loads PHPExcel from file * *

File

vendor/phpoffice/phpexcel/Classes/PHPExcel/Shared/Drawing.php, line 54

Class

PHPExcel_Shared_Drawing
PHPExcel_Shared_Drawing

Code

public static function EMUToPixels($pValue = 0) {
  if ($pValue != 0) {
    return round($pValue / 9525);
  }
  else {
    return 0;
  }
}