Scale::From

ClassName

Scale

AccessType

public

Name

From

Declaration

double From

Remark

Examples

EX1

void    Scale_From_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 "From" property:
    out_double("From = ", s.From);
}

Description

The "From" property - the left limit of the axis

header to Include

origin.h

See Also

Reference