2.2.4.17.42 GraphLayer::Y

ClassName

GraphLayer

AccessType

public

Name

Y

Declaration

Scale Y

Remark

Examples

EX1

//Output Y axis From value.
void    GraphLayer_Y_ex1()
{
    GraphPage gp;
    gp.Create("origin");
    GraphLayer        gl(gp.GetName(),0);
    
    if(gl)
    {
    
        // Intialize a Scale object from the Y-axis scale of the GraphLayer
        // (gl.Y is the Y-axis scale for the layer attached to "gl").
        Scale            s(gl.Y);
        
        // Display the "From" property (the left limit of the Y-axis):
        out_double("From = ", s.From);
    }
}

Description

The "Y" property - the Scale object representing the Y-axis in the layer.

Header to Include

origin.h

See Also

Reference