Aspose::Cells::WorkbookSettings::IsHScrollBarVisible method

WorkbookSettings::IsHScrollBarVisible method

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

bool Aspose::Cells::WorkbookSettings::IsHScrollBarVisible()

Remarks

The default value is true.

Examples

//The following code makes the horizontal scroll bar invisible for the spreadsheet.
// Hide the horizontal scroll bar of the Excel file.
if (settings.IsHScrollBarVisible())
{
    settings.SetIsHScrollBarVisible(false);
}

See Also