Application.BoxGetXPosition Method (Project)

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 nonscaleable units returned by BoxGetXPosition is equivalent to an equal number of pixels.

Syntax

expression. BoxGetXPosition( _TaskID_, _ProjectName_ )

expression A variable that represents an Application object.

Parameters

Name Required/Optional Data Type Description
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.

Return Value

Long