Hide or Show Gridlines in Excel in Java

<url>http://repo.e iceblue.com/nexus/content/groups/public/</url>
import com.spire.xls.ExcelVersion;
import com.spire.xls.Workbook;
import com.spire.xls.Worksheet;

public class HideOrShowGridlines {

public static void main(String[] args) {

//Create a Workbook object
Workbook workbook = new Workbook();

//Load a sample Excel file

//Get the fisrt worksheet
Worksheet worksheet = workbook.getWorksheets().get(0);

//Hide gridlines

//Show gridlines

//Save the document
workbook.saveToFile("HideGridlines.xlsx", ExcelVersion.Version2016);




Sharing Java Code

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Summer ’19 Release: Our favorite new features — Cloud Integrate

What I get from build software from scratch

Introduction to Joystream Founding Members

How to create a multi-platform job on Azure Pipelines

My adventure in Azure

Cloud computing infrastructure models

Stop letting your large enterprise ship bad software.

Quarkworks: Meet the Team Series — Fernando Salazar

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Andrew Wilson

Andrew Wilson

Sharing Java Code

More from Medium

Inheritance In Java -10 Program

The Spring Revolutions 2 —Salient Principles

Java Built-In Functional Interfaces

OOP conecepts in Java