You are here

public static function PHPExcel_Shared_Drawing::pixelsToEMU 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::pixelsToEMU()

* Convert pixels to EMU * *

Parameters

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

2 calls to PHPExcel_Shared_Drawing::pixelsToEMU()
PHPExcel_Writer_Excel2007_Drawing::_writeChart in vendor/phpoffice/phpexcel/Classes/PHPExcel/Writer/Excel2007/Drawing.php
* Write drawings to XML format * *
PHPExcel_Writer_Excel2007_Drawing::_writeDrawing in vendor/phpoffice/phpexcel/Classes/PHPExcel/Writer/Excel2007/Drawing.php
* Write drawings to XML format * *

File

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

Class

PHPExcel_Shared_Drawing
PHPExcel_Shared_Drawing

Code

public static function pixelsToEMU($pValue = 0) {
  return round($pValue * 9525);
}