2.2.4.18.7 GraphObject::Left

ClassName

GraphObject

AccessType

public

Name

Left

Declaration

int Left

Remark

Examples

EX1

// For this example to run, a graph window must exist in the project.
// Also, the active layer in the Graph should have a graphic object (such as rectangle) with
// the name "Rect".
void    GraphObject_Left_ex1()
{
    // Create and attach a graph layer from current Graph:
    GraphLayer        gl = Project.ActiveLayer();
    GraphObject        grobj;
    
    // Get the graphic object:
    grobj = gl.GraphObjects("Rect");

    // Display the Left property:
    out_int("Left = ", grobj.Left);
}

Description

The left in page (i.e. paper, logical) coordinate units of the object

Header to Include

origin.h

See Also

Reference