2.2.4.19.11 GraphObjectBase::XTemp

ClassName

GraphObjectBase

AccessType

public

Name

XTemp

Declaration

double XTemp

Remark

Examples

void GraphObjectBase_XTemp_Ex1()
{
	//make sure there exists an active graphlayer
	GraphLayer gl = Project.ActiveLayer();
	if ( !gl )
	{
		printf("Can not get active graphlayer!");
		return;
	}
	foreach( GraphObject go in gl.GraphObjects )
	{
		printf("X-coodinate of the center of the graphobject %s is %lf\n", go.GetName(), go.XTemp);
	}
	return;
}

Description

The X coordinate of the center of the object when it is being moved Read access

Header to Include

origin.h

See Also

Reference