Gitternetzlinien in Php anzeigen oder ausblenden

Aspose.Cells – Rasterlinien anzeigen oder ausblenden

Ausblenden von Gitternetzlinien

Arbeitsblatt ausblenden mitAspose.Cells Java for PHP , AnrufRasterlinien ausblenden Modul.

PHP-Code

 data_dir = File.dirname(File.dirname(File.dirname(__FILE__))) + '/data/'

//Instantiating a Workbook object by excel file path

$workbook = new Workbook($dataDir . "book1.xls");

//Accessing the first worksheet in the Excel file

$worksheets = $workbook->getWorksheets();

$worksheet = $worksheets->get(0);

//Hiding the grid lines of the first worksheet of the Excel file

$worksheet->setGridlinesVisible(false);

//Saving the modified Excel file in default (that is Excel 2000) format

$workbook->save($dataDir . "output.xls");

Laufcode herunterladen

Download**Rasterlinien ein- oder ausblenden (Aspose.Cells)**von einer der unten genannten Social-Coding-Sites: