Afficher ou masquer le quadrillage en php
Contents
[
Hide
]
Aspose.Cells - Afficher ou masquer le quadrillage
Masquer le quadrillage
Pour masquer la feuille de calcul à l’aide deAspose.Cells Java for PHP , téléphoner àaffichermasquerleslignesdegrille module.
Code PHP
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");
Télécharger le code d’exécution
Télécharger**Afficher ou masquer le quadrillage (Aspose.Cells)**à partir de l’un des sites de codage social mentionnés ci-dessous :