WorkbookSettings.IsHScrollBarVisible

WorkbookSettings.IsHScrollBarVisible property

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

public bool IsHScrollBarVisible { get; set; }

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.
settings.IsHScrollBarVisible = false;

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

See Also