2.2.4.18.8 GraphObject::Text

ClassName

GraphObject

AccessType

public

Name

Text

Declaration

string Text

Remark

Examples

EX1

void    GraphObject_Text_ex1()
{
    GraphPage gp;
    gp.Create("origin");
    GraphLayer        gl(gp.GetName(),0);
    GraphObject        grobj;
    
    // Get the graphic object "YL", which is the
    // the left Y-axis title:
    grobj = gl.GraphObjects("YL");
    
    // Display its text:
    out_str(grobj.Text);
}

Description

The text of a text label. Read and Set access

Header to Include

origin.h

See Also

Reference