Spread 8.0 Documentation
Example
Support Options

Glossary Item Box

Example


The following example sets the row height for each row within the block selection.

C++

if(m_Spread.GetIsBlockSelected( ))
    for(lrow = m_Spread.GetSelBlockRow( );
            lrow <= m_Spread.GetSelBlockRow2( );
            lrow++)
            {
            m_Spread.SetRowHeight(lrow,SS_Num);
            }

Visual Basic

If fpSpread1.IsBlockSelected Then
    For lrow = fpSpread1.SelBlockRow To fpSpread1.SelBlockRow2
        fpSpread1.RowHeight(lrow) = SS_Num
    Next lrow
End If

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.