2.2.4.40.2 Scale::Inc

ClassName

Scale

AccessType

public

Name

Inc

Declaration

double Inc

Remark

Examples

EX1

void    Scale_Inc_ex1()
{
    GraphPage gp;
    gp.Create("origin");
    GraphLayer        gl(gp.GetName(),0);
    
    if (!gl.IsValid())
    {
        out_str("No GraphLayer!");
        return;
    }
    
    // Intialize a Scale object from the Y-axis scale of the GraphLayer
    // (gl.Y is the Y-axis scale for the layer attched to "gl").
    Scale            s(gl.Y);
    
    // Display the "Inc" property:
    out_double("Inc = ", s.Inc);
}

Description

The "Inc" property - the major tick increment of the axis

Header to Include

origin.h

See Also

Reference