Example
The following example specifies that the last row and column stop scrolling at the bottom and right of the displayed portion of the sheet.
C++
// Determine if the last row/col scrolls to the end of the screen
m_Spread.SetScrollBarMaxAlign(TRUE);
Visual Basic
' Determine if the last row/col scrolls to the end of the screen
fpSpread1.ScrollBarMaxAlign = True