Click or drag to resize

WorkbookSettingsIsHScrollBarVisible Property

Gets or sets a value indicating whether the generated spreadsheet will contain a horizontal scroll bar.

Namespace:  Aspose.Cells
Assembly:  Aspose.Cells (in Aspose.Cells.dll) Version: 20.10.0.0 (20.10)
Syntax
public bool IsHScrollBarVisible { get; set; }

Property Value

Type: Boolean
Remarks
The default value is true.
Examples
The following code makes the horizontal scroll bar invisible for the spreadsheet.
[C#]
// Hide the horizontal scroll bar of the Excel file.
workbook.IsHScrollBarVisible = false;

[Visual Basic]
' Hide the horizontal scroll bar of the Excel file.
workbook.IsHScrollBarVisible = False
See Also