Aspose::Cells::WorkbookSettings::SetIsHScrollBarVisible method

WorkbookSettings::SetIsHScrollBarVisible method

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

void Aspose::Cells::WorkbookSettings::SetIsHScrollBarVisible(bool value)

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