Worksheet::SetLowerBound

Description

Set the beginning row indices for the specified columns in the Worksheet.

Syntax

BOOL SetLowerBound( int iR1, int iC1 = 0, int iC2 = -1 )

Parameters

iR1
[input] Input begining row index (0 based)
iC1
[input] Input begining column index (0 based offset, default 0 is first column)
iC2
[input] Input ending column index (0 based offset, default -1 is last column)

Return

Returns TRUE on success and FALSE on failure.

Examples

EX1

//Set the beginning row indices for the specified columns in the Worksheet. 
void Worksheet_SetLowerBound_Ex1()
{
    Worksheet wks = Project.ActiveLayer();
    int nR1 = 5;        
    if( wks.SetLowerBound(nR1) )
        printf("Success to set lower bound of specified column!");
    else
        printf("Fail to set lower bound of specified column!");
}

Remark

See Also

Worksheet::SetUpperBound, Worksheet::SetBounds

header to Include

origin.h