WorkbookSettings.IsVScrollBarVisible

WorkbookSettings.IsVScrollBarVisible property

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

public bool IsVScrollBarVisible { get; set; }

Remarks

The default value is true.

Examples

The following code makes the vertical scroll bar invisible for the spreadsheet.

[C#]
// Hide the vertical scroll bar of the Excel file.
settings.IsVScrollBarVisible = false;

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

See Also