←Select platform

IsSheetHidden Method

Summary

Determines whether a specified sheet within the Excel workbook is hidden. This method checks the visibility state of a sheet by its name.

Syntax

C#
C++/CLI
Python
public bool IsSheetHidden( 
   string sheetName 
) 
public:  
   bool IsSheetHidden( 
      String^ sheetName 
   ) 
def IsSheetHidden(self,sheetName): 

Parameters

sheetName

A string specifying the name of the sheet whose visibility status is to be checked. The sheet name must exactly match an existing sheet in the workbook, including case sensitivity.

Return Value

true if the specified sheet is hidden; otherwise, false.

Remarks

The visibility of sheets in an Excel workbook can significantly impact user interaction and data presentation. Sheets may be hidden to simplify the user interface, protect sensitive information, or manage workflow within the workbook. This method provides a programmatic way to query the visibility state of sheets.

Requirements

Target Platforms

See Also

LEADWorkbook Class

LEADWorkbook Members

Leadtools.Document.LEADOffice.Sheet Namespace

Help Version 23.0.2024.5.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Document.LEADOffice Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.