2.2.4.7.5 DataObjectBase::i1

ClassName

DataObjectBase

AccessType

public

Name

i1

Declaration

int i1

Remark

Examples

EX1

void    DataObjectBase_i1_ex1()
{
    Worksheet wks;
    wks.Create("origin");
    Dataset ds1(wks,0);
    Dataset ds2(wks,1);
    ds1.Data(1,20,1);
    ds2.Normal(20);
    GraphPage gp;
    gp.Create("origin");
    GraphLayer gl(gp.GetName(), 0);
    gl.AddPlot(wks);
    
    // Get the first data plot in the layer:
    DataPlot        dp = gl.DataPlots(0);
    int                i1 = dp.i1;

    printf("Data plot range: i1 = %d\n", i1);
}

Description

The lower data range index for the object.

Header to Include

origin.h

See Also

DataObjectBase::i2

Reference