VS:XCenterN/ja
.VectorScript|VectorScript ..VS:Function Reference|Function Reference ..VS:Function_Reference_Appendix|Appendix
Description
検索条件に合致した図形の中心のX座標を返します。複数の図形が検索条件に一致する場合、この関数は、一致するすべての図形の平均的な中心点のx座標を返します。
FUNCTION XCenterN(
c :CRITERIA) : REAL;
def vs.XCenterN(c): return REAL
Parameters
c CRITERIA 検索条件
Example
XCenValue:=XCenterN(N='Board'); {returns the x-coord of the center of the bounding box the named object 'Board'
Version
利用可能バージョン: Vectorworks 2012