2.2.4.17.44 GraphLayer::Z

ClassName

GraphLayer

AccessType

public

Name

Z

Declaration

Scale Z

Remark

Examples

EX1

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

Description

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

Header to Include

origin.h

See Also

Reference