BoxGetXPosition Method

Returns the horizontal position of the upper-left corner of a box in the active Network Diagram. At a zoom setting of 100%, the number of non-scaleable units returned by BoxGetXPosition is equivalent to an equal number of pixels.

Syntax

expression**.BoxGetXPosition(TaskID, ProjectName)**

*expression   *     Optional. An expression that returns an Application object.

TaskID    Required Long. The identification number of the task.

ProjectName    Optional String. If the active project is a consolidated project, specifies the name of the project for the identification number specified by TaskID. The default value is the name of the active project.

Applies to | Application Object

See Also | BoxGetYPosition Method | BoxSet Method