Scale::To

ClassName

Scale

AccessType

public

Name

To

Declaration

double To

Remark

Examples

EX1

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

Description

The "To" property - the right limit of the axis

header to Include

origin.h

See Also

Reference