【お知らせ】この部分は英語原文のみでの提供となります。何卒ご了承ください。
2.2.4.19.10 GraphObjectBase::X
Contents
ClassName
GraphObjectBase
AccessType
public
Name
X
Declaration
double X
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 GraphObjectBase_X_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 X coordinate: out_double("X = ", grobj.X); }
Description
The X coordinate of the center of the object. Read and Set access
Header to Include
origin.h